0

npm 3.9 Mac osx 10.11.5

When I do:

npm cache clean

sudo npm install npm -g

it does show progress bar, does its work, but npm is still 3.9.0, should be 3.9.2.

Also with package, for example:

sudo npm update -g yo

Doesn't do anything. I'm returned to command line without any progress bar or operation details, and package is still old version.

Is there a known problem with npm registry ?

Community
  • 1
  • 1
Robert Brax
  • 6,508
  • 12
  • 40
  • 69

1 Answers1

0

Problem was that global update of some modules where prevented because of major version change. Since I don't know where / if there is a global package.json... i wasn't sure.

npm -g outdated

showed the problem.

Then I forced install of desired global module to specific version as:

sudo npm install -g tslint@3.10.2

Robert Brax
  • 6,508
  • 12
  • 40
  • 69