Firebase CLI v7.0.0 is incompatible with Node.js v6.17.1 Please upgrade Node.js to version >= 8.0.0
Asked Answered
D

4

10

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?

Degauss answered 12/6, 2019 at 22:49 Comment(0)
D
5

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.

Degauss answered 12/6, 2019 at 22:49 Comment(0)
G
15

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,

  1. "npm install -g [email protected]"
  2. "firebase init"
  3. "firebase deploy" and it's solved.
Geomorphology answered 19/5, 2022 at 18:17 Comment(1)
If you are using the firebase cloud shell emulator "npm install -g [email protected]" solves the problemMouton
D
5

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.

Degauss answered 12/6, 2019 at 22:49 Comment(0)
T
1

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:

  1. Just install the latest version - https://nodejs.org/en/download/
  2. Search environment variable in your device and click on it
  3. Right click on path click add paste this --> C:\Program Files\nodejs
  4. Save click ok
  5. Close your code editor
  6. Reopen your code editor

it worked for me

Tacet answered 19/2, 2023 at 19:16 Comment(0)
N
0

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.

Nunci answered 22/5, 2022 at 11:5 Comment(1)
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.Tinsmith

© 2022 - 2025 — McMap. All rights reserved.