downgrade npm package to specific version
npm install -g npm@version-no
4.6
5
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]
Thank you!
5
0
0
1
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]
Thank you!
1
0
Are there any code examples left?
New code examples in category Shell/Bash