codelabs-nodejs
codelabs-nodejs copied to clipboard
Outdated version of firebase-functions
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.