firebase / firebase/firebase-tools

"SyntaxError: Unexpected end of JSON input" appears on startup of firebase-tools-instant-win.exe

Open
#3,432 22 comments 9 reactions 1 assignee Claimed by @joehan View on GitHub
firepit type: bug
Dominant language
TypeScript
Stars
4.5k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
84

Description

### [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 ()
at ChildProcess. (C:\snapshot\firepit\welcome.js:115:27)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket. (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe. (net.js:674:12)

> firebase --version
9.12.0

>
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.