Open MattiaPrimavera opened 4 years ago
Node 8 is needed for Firebase functions
Yep but from functions docs:
You'll need a Node.js environment to write functions, and you'll need the Firebase CLI to deploy functions to the Cloud Functions runtime. Node.js versions 8 and 10 are supported. For installing Node.js and npm, Node Version Manager is recommended.
Node 10 on GCP is in "beta" but we could indeed switch to 10 on both without issue.
Which part of our service is using GCP
? Well if it's beta, better not to change that for production ... but the docs I linked seem saying it's supported for firebase functions
, not beta :)
Firebase run on GCP. so Functions are Google Cloud Functions under the shell. You can probably make another pr to change the node version on functions and remove the .nvmrc.
Is there a particular reason to use two different node versions for firebase functions and the front app ?
v8.15.0
v10.17.0