0

Currently , I am having npm version 8 but I want to have npm 5.5.1 , Last time also I did npm i -g@5.5.1 this but I struggled through the module not found error , and finally I resolved but now I want to install lower version i.e 5.5.1 , please tell me the exact/correct steps for windows.

2 Answers2

0
npm install -g npm@5.5.1

Try this

0

I found this solution:

You need to install npm-windows-upgrade

then use npm-windows-upgrade --npm version 5.5.1

Reference: upgrade npm on windows

Emmanuella
  • 71
  • 1
  • 8