After some struggling with upgrading npm itself from version 1.4.8 to 2.1.14 I ended up with following solution:

  • I have installed NodeJS, newest version (just overwritten current installation)
  • The npm was installed in (1) C:\Program Files\nodejs\node_modules\npm
  • I have installed new version of npm: npm install npm -g the new version has been located in (2) %USERPROFILE%\AppData\Roaming\npm\node_modules\npm

Now, all you need is to delete all files in directory (1) and copy all files from directory (2) to (1).

npm 2.1.14

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Comments

You can leave a response, or trackback from your own site.

Before you add comment see for rules.

Leave a Reply

Your email address will not be published. Required fields are marked *

3s1x0z