-
Notifications
You must be signed in to change notification settings - Fork 201
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
Unexpected Node.js v6.11.5 warning after functions update #292
Unexpected Node.js v6.11.5 warning after functions update #292
Comments
Closing because the message has been fixed. |
Hi @laurenzlong,
|
@laurenzlong the |
Hi @bnfrnz and @aminelaadhari , Can you make sure the firebase-tools version is up to date and try again? |
I'm on
|
@kevinajian I am using the last version. I did uninstall firebase-tools and reinstall it multiple times to be sure that I am using the correct version:
|
@kevinajian @laurenzlong Hi Folks, any update on this? |
@aminelaadhari Looking into it, it seems like it's only a log message. Does it break the emulator in some way? I'll work on updating the warning separately, just want to make sure I'm addressing the right issue. |
@kevinajian thanks. I think it's not just a log message because it crashes when I use async/await |
As far as I'm concerned, this is just a leftover warning log that should be removed. Everything works perfectly fine, including async/await code. |
Just like @bnfrnz everything works fine for me even with this legacy warning. PS: you can run the server with whatever version of node, indenpendently of the one installed on your system, with this npm/npx trick: npx -p node@8.11.1 -- firebase serve |
@laurentpayot thanks for the tip. thas solved the issue for me. |
Version info
firebase-functions:
2.0.2
firebase-tools:
4.0.0
firebase-admin:
5.12.1
Test case
Steps to reproduce
Upgrade firebase functions to version 2.0.2 to use the Node.js 8 runtime
Were you able to successfully deploy your functions?
Yes
Expected behavior
Work with no warnings.
Actual behavior
Warning: You're using Node.js v8.11.3 but Google Cloud Functions only supports v6.11.5.
The text was updated successfully, but these errors were encountered: