Answers for "downgrade the npm version"

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