Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase CLI v10.0.1 is incompatible with Node.js v10.24.1 Please upgrade Node.js >=12

I am facing this issue while deploying my firebase function through Git Actions

Firebase CLI v10.0.1 is incompatible with Node.js v10.24.1 Please upgrade Node.js to version >= 12

My Firebase version:9.16.6 Node version : 14.15.4..


Edit: Here is the dependencies section of my package.json file.

"dependencies": {
  "axios": "^0.21.1",
  "cryptr": "^6.0.2",
  "dotenv": "^10.0.0",
  "fetch": "^1.1.0",
  "firebase": "^8.10.0",
  "firebase-admin": "^9.8.0",
  "firebase-functions": "^3.16.0",
  "lodash": "^4.17.21",
  "node-fetch": "^2.6.1",
  "request": "^2.88.2",
  "request-promise": "^4.2.6"
},
"devDependencies": {
  "eslint": "^7.6.0",
  "eslint-config-google": "^0.14.0",
  "firebase-functions-test": "^0.2.0"
} 
like image 368
Soniya Biyani Avatar asked Mar 20 '26 12:03

Soniya Biyani


1 Answers

i added https://github.com/actions/setup-node to my workflow (this probably isnt required). And changed w9jds/[email protected] to w9jds/firebase-action@master (Changed specific version to master`. This fixed it for me. I hope it works!

like image 117
Sven Elmendorp Avatar answered Mar 23 '26 02:03

Sven Elmendorp



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!