npm install older version of package code example
Example: install exact version npm
npm install <package>@<version>
//example
npm install [email protected]
npm install <package>@<version>
//example
npm install [email protected]