Replies: 1 comment 1 reply
-
Gitlab itself is broken too. I list all repos were I published packages to in my .npmrc and then I don’t have any problems. It’s a known issue at Gitlab and same issue exists for npm itself |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Wanted to make this discussion for better discoverability of the breaking change in v7.14.0 that affects private repo tokens in
.npmrc
.If you have
//gitlab.com/api/v4/packages/npm/:_authToken
in your.npmrc
and have suddenly started getting 404 errors when trying topnpm install
, you need to add a second config with a less specific url like//gitlab.com/:_authToken
.Hope this helps someone else not spend hours on it! Wish there was greater visibility into this breaking change when running
pnpm install
.Beta Was this translation helpful? Give feedback.
All reactions