Home

Published

- 1 min read

update all packages in package.json

img of update all packages in package.json

The solution for this is noted below

update all packages in package.json

Solution

   //To install major updates globally
npm install -g npm-check-updates

//To see a list of outdated packages
npm outdated

//To update the packages to their latest versions in package.json
ncu -u

//To install the new updates
npm update 	or 	npm install

Try other methods by searching on the site. That is if this doesn’t work