npm ERR! Registry returned 401 for GET on https://registry.npmjs.org/….
This error occurred to me when trying to install npm modules with
npm install. I tried with Yarn but the error was similar:
error Couldn't find package "..." on the "npm" registry.
The solution was into the
I was using wrong credentials. I had to set the
always-auth parameter to
To make it work on Yarn I also needed to remove the
Have a good day!