-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
cloud-functions-start (step 8): An unexpected error has occurred. #222
Comments
Hi @oneezy your deploy command looks fine, is this still a problem? I just want to confirm that it is not an issue on the server side that has been resolved and is something I need to look into further. |
I'm also experiencing this :( |
try running with --debug I came across the same issue and found it was because I had Node 8.0.0 I used nvm to upgrade to 8.1.0 and opened a new terminal window and it appears to have worked.. Might break other shit that depends on node 8.0.0 but we shall see.. |
👍 @kevando There was an issue with backward compatibility in Node 8.0.0 in particular which got fixed in 8.1.0. Currently it's best to use 6.x.x latest when using Google Cloud Functions as this is what is supported and runs on prod. I with the latest Firebase CLI you should now get a warning about this when trying to run |
Oh ok, f*cking "sudo" command. For all Linux users, just add them at the begin => "sudo firebase serve", ( I write that command 'cause i searching a solution for that, but I'm very sure that "sudo" is a solution for this problem also ) |
When trying to Welcome New Users in Step 8 of the cloud-functions-start code lab, I'm getting an error after I run the following in the terminal:
Command:
Output:
Any idea what the problem could be?
The text was updated successfully, but these errors were encountered: