Reputation: 1051
I am running the command firebase deploy and I see the following error:
Invalid CLI version provided. - Please update to at least v2.0.0 by running npm update -g firebase-tools
Running the command firebase -v I see I have the following version info:
Firebase Command Line Tools
Version 1.2.0
https://www.firebase.com
Now, running the command npm update -g firebase-tools does nada from what I can tell.
I have tried to remove and reinstall firebase-tools via the following commands:
npm remove -g firebase-tools
npm install -g firebase-tools
When I run firebase -v I continue to see version 1.2.0 and my firebase deploy continues to not work. How do I upgrade firebase-tools to version 2?
For background info the Node version on the server is v4.3.1 and the OS is Ubuntu 14.04.4 LTS.
Thanks in advance for any assistance.
Upvotes: 3
Views: 1345
Reputation: 17879
I had the same issue.
I've previously installed firebase-cli
globally (CLI, not tools), so to fix it:
npm remove -g firebase-cli
npm install -g firebase-tools
Upvotes: 6