Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: Unexpected end of JSON input #11

Open
emailsubjekt opened this issue Sep 4, 2019 · 5 comments
Open

SyntaxError: Unexpected end of JSON input #11

emailsubjekt opened this issue Sep 4, 2019 · 5 comments

Comments

@emailsubjekt
Copy link

Hi, when I use the exe file and run it for the first time it gives out the following error below:

###############

~ Let's make sure your Firebase CLI is ready...
undefined:1

SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at ChildProcess.checkSpawn.on (C:\snapshot\firepit\welcome.js:82:27)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:961:16)
at Socket.stream.socket.on (internal/child_process.js:380:11)
at Socket.emit (events.js:182:13)
at Pipe._handle.close [as _onclose] (net.js:595:12)

###########

Any advice how to fix this error?

@alamari
Copy link

alamari commented Apr 20, 2020

I am facing the same error exactly. Did you manage to fix it ?

@Yke222
Copy link

Yke222 commented Jan 9, 2021

I Managed to fix this by just typing "firebase" in the console within the exe file, you guys should try that.

@Yke222
Copy link

Yke222 commented Jan 9, 2021

It'll them download all necessary files to run

@acuvic
Copy link

acuvic commented Jun 9, 2022

I Managed to fix this by just typing "firebase" in the console within the exe file, you guys should try that.

Yes, this works for me, thanks! I typed "firebase" in the console that popped-up while installing via exe

@Tahira6020
Copy link

  1. delete C:\Users\USERNAME.cache\firebase
  2. Run firebase-win-exe
  3. Authentication process will start you press Y
    Allow Firebase to collect CLI and Emulator Suite usage and error reporting information? Y
  4. Copy a google link and paste it into browser and Log into your google account to allow access to firebase
  5. Success! Logged in as tahira6020@gmail.com
Screenshot 2024-03-30 232741

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants