You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding the engines.node value as 18, github actions throws the following error:
Error: package.json in functions directory has an engines field which is unsupported. Valid choices are: {"node": "10"}, {"node":"12"}, and {"node":"14"}.
Deploys to runtimes below Node.js 10 are now disabled in the Firebase CLI. Existing Node.js 8 functions will stop executing on 2021-03-15. Update existing functions to Node.js 10 or greater as soon as possible.
Notices that this doesn't happen when I deploy on my local machine.
The text was updated successfully, but these errors were encountered:
The dockerfile is globally installing firebase-tools@10.7.0. firebase cli is weird in that it uses the node package to manage node versions instead of the globally installed version. Unfortunately, firebase-tools does not support node18 yet for some architectures like arm because the node package does not. Is your github action running on arm?
Alternatively, you can add the --ignore-engines flag to your arguments and it might get firebase-tools to not care about the version of node you are using.
When adding the
engines.node
value as18
, github actions throws the following error:Notices that this doesn't happen when I deploy on my local machine.
The text was updated successfully, but these errors were encountered: