ict.ken.be

Delivering solid user friendly software solutions since the dawn of time.

Upgrading Nodejs package.json dependencies

Categories: Javascript Nodejs

Doing a minor update

  • npm update

Doing a major update

Ensure you have the 'check updates' module installed, which will give you the ncu command.

npm install -g npm-check-updates
  • npm outdated
  • ncu -u
  • npm update
  • npm install

If you keep getting: NCU Real Time Weather is Running......

You installed the module called ncu and will need to uninstall this one first.

npm uninstall ncu -g
npm install -g npm-check-updates -- force