0

I've been having serious issues with npm updating packages. I've changed the dependencies in my package.json's and ran npm install, I've tried deleting the global package but afterwards, when I type --version, my Command Line prints the version I just "deleted"), and I've tried installing over my current version. My command line looks like this:

You can see the latest version of firebase installed at the top, and the earlier version being printed when asked for the current version

I'd really love to avoid throwing my laptop through a window, but I'm getting close. Any ideas of why npm hates me?

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
Snkendall
  • 110
  • 6

1 Answers1

1

The Firebase CLI comes from the npm package firebase-tools, not firebase. You should npm install -g firebase-tools@latest to get the latest CLI.

Doug Stevenson
  • 297,357
  • 32
  • 422
  • 441