pnpm: Not working with private registry

We are using private registry for npm modules based on artifactory.

I have global config for npm in ~/.npmrc like this:

_auth = {auth-key-here}
email = {e-mail}
always-auth = true
registry={link-to-private-registry}

when I run pnpm install I’m getting something like this:

  ERROR Registry returned 401 for GET on ...

pnpm version: 0.64.8

Code to reproduce the issue:

https://gist.github.com/kopach/3abe4da1302b28fd339ea33af7c8426d

Additional information:

  • node -v prints: v6.5.0
  • Windows, OS X, or Linux?: macOS Sierra v10.12.3

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 2
  • Comments: 26 (25 by maintainers)

Commits related to this issue

Most upvoted comments

Mystery solved! I’ll make the final fix tonight.

hooray 🎉 , with this workaround it works now, thanks

I know what is the issue with this. I’ll fix it this week

ok, thanks, will look into it again

Sorry, I did not publish it yet. I’ll post a message when it is published