simondotm / nx-firebase

Firebase plugin for Nx Monorepos
https://www.npmjs.com/package/@simondotm/nx-firebase
MIT License
175 stars 31 forks source link

How use node 18 ? #176

Closed chrisDupuis closed 7 months ago

chrisDupuis commented 7 months ago

How to use node 18 for firebase function ?

"engines": { "node": "18" },

failed.

cketcham commented 7 months ago

I haven't checked exactly what is needed, but I also set "runtime": "nodejs18" for each function in firebase.json. And in the project.json for each function, I set "target": "node18"