win10 Firebase CLI: worked but now fails on startup

1,083 views
Skip to first unread message

Sentinel Two

unread,
Nov 20, 2019, 11:01:04 AM11/20/19
to Firebase Google Group
Hi folks

For the past few month every thing has gone fine hosting a static web site from WIn10 using the Firebase CLI.
Having recently updated npm or firebase itself I am now getting and error message that seems to be due to  Firebase credential being left undefined:

Here's what the shell now shows on start up:

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

     
Welcome to...
     
######## #### ########  ######## ########     ###     ######  ########  ##
     
##        ##  ##     ## ##       ##     ##  ##   ##  ##       ##        ##
     
######    ##  ########  ######   ########  #########  ######  ######    ##
     
##        ##  ##    ##  ##       ##     ## ##     ##       ## ##
     
##       #### ##     ## ######## ########  ##     ##  ######  ########  ##


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

~ Let's make sure your Firebase CLI is ready...
+ Looks like your CLI is set up.!

~ Checking your Firebase credentialsundefined:1



SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at ChildProcess.listSpawn.on (C:\snapshot\firepit\welcome.js:100:31)
    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)

>

So I can no longer deploy changes to the static site - which remains up.

Any suggested remedies?


Sam Stern

unread,
Nov 20, 2019, 6:22:15 PM11/20/19
to Firebase Google Group
Hey there,

Looks like a bug in the CLi to me!  The best thing to do is file an issue here:
https://github.com/firebase/firebase-tools

Make sure to include information like your Windows version, Node version, etc to help us reproduce this.  If this used to work for you but has started to break, please let us know what version of the CLI was the last working one for you.  Thank you!

- Sam

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/546a68cc-e399-4dc3-8310-08990039bb31%40googlegroups.com.

Sentinel Two

unread,
Nov 21, 2019, 9:53:26 AM11/21/19
to Firebase Google Group
Thanks Sam

I'll file the issue! 
But in the meantime is there a recommend way of rolling back to say v7.70 ?
I am fairly new to this game and have not done such before.

Cheers

G.
To unsubscribe from this group and stop receiving emails from it, send an email to fireba...@googlegroups.com.

Sam Stern

unread,
Nov 21, 2019, 11:41:02 AM11/21/19
to Firebase Google Group
If you want to downgrade to a particular version, like 7.7.0, just run:

npm install -g firebas...@7.7.0

- Sam

To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/2106529e-c010-4562-9d1c-69f1ea882b83%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages