I need to add a global registry to my computer for a project I am working on. It cannot reside locally in the project - I know this works, but for the sake of this project I can't keep it there.
I have tried npm config set registry... but I am working through VSTS, and it provides an already generated token. When I attempted it, after setting it, entering username/pw/email... it returned:
Registry returned 404 for PUT on undefined npm ERR!
There are options for windows only:
Recommended (for Windows users):Install and run the auth helper
npm install -g vsts-npm-auth --registry https://registry.npmjs.com --always-auth false
vsts-npm-auth -config .npmrc
But the alternative is to add it manually. It gives me a token, and I just need to somehow add this globally... and I have found zero online that has helped.
Just searched and found this... irony?
Any ideas?