Upgrade Firebase Functions to Node 10

To upgrade Firebase to Node 10, open package.json:

  "engines": {
    "node": "10"

It's recommended to update to the latest version of Firebase Functions as well:

npm i --save firebase-functions@latest

Be aware of the conditions to use Node 10; you'll need to upgrade your Firebase projects to Blaze (a shame by the way).

Hi, I'm Erik, an engineer from Barcelona. If you like the post or have any comments, say hi.