Blog Post

How to upgrade NPM

Saturday, October 7, 2017 1:45 PM

 

Today I wanted to install Angular 4 and use with my Visual Studio Code. I do not want to keep old versions around and therefore I want to run the update.

 

 

 

 

npm i -g npm-upgrade

This did not work because of the update did not have rights to access the paths required. In order to make it work we need to execute the command with SUDO.

sudo npm i -g npm-upgrade

Advert

Tags

Last posts

12/01/19 - Hybrid Cloud

12/01/19 - Private cloud

12/01/19 - Public Cloud

21/12/18 - Accessing Raspberry PI 3 B

16/10/18 - ICloud installation into Outlook 365 isn't configured to have a default profile

Advert