Answers for "downgrade npm version"

6

downgrade npm package to specific version

npm install -g npm@version-no
Posted by: Guest on December-02-2020
0

revert npm version

npm install -g [email protected]
Posted by: Guest on February-24-2020
4

npm downgrade package

npm view <package> versions // lets see what versions of package are available
npm install <package>@<version> // install desired version. Remember about flags which maybe you want to use (eg. -g for global)

// example for package 'express'
npm install [email protected]
Posted by: Guest on November-10-2020

Browse Popular Code Answers by Language