Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add package from git repository with npmrc for private repo returns 401 #7386

Open
3 of 4 tasks
jmvtrinidad opened this issue Dec 6, 2023 · 1 comment
Open
3 of 4 tasks

Comments

@jmvtrinidad
Copy link

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

8.11.0

Which area(s) of pnpm are affected? (leave empty if unsure)

Dependencies resolver, CLI

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

  • Use private package registry that has authentication
  • install pnpm i -D @types/github-script@github:actions/github-script, this will return 401 trying to install using npm i
image

Describe the Bug

on first install it is not working complaining for 401 but after rerunning the 2nd install it works. I have to use pnpm i || pnpm i for now.

Expected Behavior

it should work on first install

Which Node.js version are you using?

v20.9.0

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

@zkochan
Copy link
Member

zkochan commented Dec 9, 2023

Actually, it seems like it is a bug that it doesn't fail on second run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants