[英]Getting a 404 on a private repo after adding a personal access token to .npmrc
Not sure why this would be happening.不知道为什么会发生这种情况。 Getting a
得到一个
Request failed \"404 Not Found\""
I've created the token in my github settings, set the correct repository rights on the token, and then added it to my.npmrc file.我在 github 设置中创建了令牌,在令牌上设置了正确的存储库权限,然后将其添加到 my.npmrc 文件中。 In place of $TOKEN I've copied in the token itself.
代替 $TOKEN 我已经复制了令牌本身。 Am I missing something?
我错过了什么吗?
//npm.pkg.github.com/:_authToken=$TOKEN
The issue was that package permissions weren't set up properly, not a problem on my end.问题是 package 权限设置不正确,这对我来说不是问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.