"SyntaxError: Unexpected end of JSON input" appears on startup of firebase-tools-instant-win.exe
See original GitHub issue[REQUIRED] Environment info
firebase-tools: 9.12.0
Platform: OS Name - Microsoft Windows 10 Pro Version - 10.0.19042 Build 19042
[REQUIRED] Test case
Download firebase-tools-instant-win.exe from https://firebase.tools/bin/win/instant/latest The run the .exe
[REQUIRED] Steps to reproduce
[REQUIRED] Expected behavior
Normal startup
[REQUIRED] Actual behavior
########################################################################################################################
Welcome to...
######## #### ######## ######## ######## ### ###### ######## ##
## ## ## ## ## ## ## ## ## ## ## ##
###### ## ######## ###### ######## ######### ###### ###### ##
## ## ## ## ## ## ## ## ## ## ##
## #### ## ## ######## ######## ## ## ###### ######## ##
########################################################################################################################
~ Let's make sure your Firebase CLI is ready...
undefined:1
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at ChildProcess.<anonymous> (C:\snapshot\firepit\welcome.js:115:27)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)
> firebase --version
9.12.0
>
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:7 (1 by maintainers)
Top Results From Across the Web
how to solve Firebase CLI error on start up - Stack Overflow
i moved the executable i downloaded ( "firebase-tools-instant-win.exe" ) to folder: c:\firebase\bin and it works without any error,.
Read more >Uncaught SyntaxError: Unexpected end of JSON input
A common error encountered by JavaScript programmers is the Uncaught SyntaxError: Unexpected end of JSON input. This is usually observed when the coder...
Read more >What is the "version" field in the CLI configuration file ... - JFrog
JFROG CLI: All About the CLI Configuration File's Version Field and Why It Can Trigger an unexpected end of JSON input Error. Yonatan...
Read more >Unexpected end of JSON input after migrating/upgrading
I would start by switching on Debugging (if you haven't) and checking your web server's error log. This might be the result of...
Read more >npm taks, npm install fails with 36780 verbose stack SyntaxError
... stack SyntaxError: Unexpected end of JSON input while parsing near ... Do you mean that if you create a new pipeline with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
How many hundred of thousands of developers will download TO THE D DRIVE (not C) and run firebase-tools-instant-win.exe only for the installation to fail without a meaning full error message. At least put in a warning statement that the exe file should be placed on the C drive before running. Took me hours of hair-pulling to register a flutter project.
renaming
firebase-tools-instant-win.exefile tofirebase-win.exeworked for me.