Reputation: 81
I have created a proxy of NPM repository (https://registry.npmjs.org/) in my local machine.
But when I install the bower module of node.js using the proxy repository by the command: npm install bower
it's giving "unauthorized access"
Upvotes: 0
Views: 3085
Reputation: 1144
In my case I had to activate npm Bearer Token Realm in nexus administration panel.
Upvotes: 0
Reputation: 11
You just have to add always-auth=true
in your .npmrc ! Referring to the documentation
Upvotes: 0
Reputation: 29912
Depending on your Nexus setup you might have to configure security to be able to allow downloads. This is documented in the NPM chapter of the Nexus documentation.
Upvotes: 1