title |
---|
NPM |
NPM comes with Node.js. To install Node.js: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
npm outdated
Upgrade a dependency:
npm install packagename@latest
Upgrade a dev dependency:
npm install packagename@latest --save-dev
npm ls
npm audit
-
Try to fix automatically
npm audit fix
-
If that doesn't work:
rm -rf node_modules/* npm install