Closed nicolasheady closed 8 months ago
I found a few problems with this issue:
Turns out I had two versions of the Firebase CLI installed on my Mac. A very old version installed in "/usr/local/bin/firebase", and the newest version in "/Users/username/.nvm/versions/node/v18.15.0/bin/firebase" When using the "Firebase" command to deploy or run emulators, it was using the old version of the CLI, pre Gen 2. I deleted that one and now 'Firebase' commands are using the updated CLI.
Closing for above reason.
[REQUIRED] Version info
node: 18.15.0
firebase-functions: 4.5.0
firebase-tools: 12.8.0
firebase-admin: 11.10.0
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
[REQUIRED] Expected behavior
Expect emulator to start without issue.
[REQUIRED] Actual behavior
Were you able to successfully deploy your functions?
Getting this error on deploy:
package.json in functions directory has an engines field which is unsupported. Valid choices are: {"node": "8"}, {"node": "10"}, and {"node":"12"}.