codelabs-nodejs icon indicating copy to clipboard operation
codelabs-nodejs copied to clipboard

Outdated version of firebase-functions

Open stzaske opened this issue 6 years ago • 0 comments

Level 2, step 3. After running npm -install I got an error reading:

"package.json indicates an outdated version of firebase-functions. Please upgrade using npm install --save firebase-functions@latest in your functions directory. Package.json says "firebase-functions": "^1.0.2" while the latest version is 3.0.1

After running this command and adding

"engines": { "node": "8" }, to package.json, the deployment worked.

stzaske avatar Jun 17 '19 22:06 stzaske