npm login --registry <YOUR_PRIVATE_REGISTRY_URL>
yarn config delete registry
then don't trust the autogenerated ~/.npmrc
configuration and modify it like this:
always-auth=true
registry=<YOUR_PRIVATE_REGISTRY_URL>
_authToken=NpmToken.<YOUR_TOKEN>
🍻 Cheers!
Top comments (0)