Reputation: 317467
I upgraded my Firebase CLI (firebase-tools) to version 7.0.0. Now, when I run it, it gives me a message:
Firebase CLI v7.0.0 is incompatible with Node.js v6.17.1 Please upgrade Node.js to version >= 8.0.0
How do I fix this?
Upvotes: 10
Views: 23965
Reputation: 11
Problem:
Firebase CLI v11.23.1 is incompatible with Node.js v14.17.0
Please upgrade Node.js to version ^14.18.0 || >=16.4.0
solution:
C:\Program Files\nodejs
it worked for me
Upvotes: 1
Reputation: 167
Problem:
Firebase CLI v11.0.0 is incompatible with Node.js v14.17.5
Please upgrade Node.js to version >= 14.18.0
just install,
Upvotes: 15
Reputation: 1
You can simply uninstall your node js from your pc and download current latest version of node js from https://nodejs.org/en/download/current and than install it.
Upvotes: 0
Reputation: 317467
With version 7.0.0, the Firebase CLI dropped support for node 6. You will need to upgrade your local node version to at least version 8. (8.0.0 actually has bugs - you should use something more modern.)
Personally, I recommend using nvm to install and run node, as it's easy to install and upgrade, and doesn't require root access to change system packages.
Upvotes: 5