Skip to content

Unable to retrieve npm package created and published to private repo after following documentation instructions #26024

Discussion options

You must be logged in to vote

So, after diving into Stack Overflow for far too long, I found this:

stackoverflow.com

Yarn can't find private Github npm registry

github, npm, yarnpkg

The summary from the accepted answer there:

.yarnrc

"@myorg:registry" "https://npm.pkg.github.com"

After updating the .yarnrc per above, I was able to yarn add @org/packagename and it installed as expected.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Packages Host your dependencies, libraries, and production-ready code, right from your repository Product Feedback
1 participant