-
-
Notifications
You must be signed in to change notification settings - Fork 300
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
Login to private registry fails (Verdaccio, Nexus, …) #420
Comments
I'm having the same problem. In
|
Actually @kapooostin I found a solution based on #256. (in my package.json I have a release script: |
I guess, this is the reason behind the issue sindresorhus/npm-name#31 |
It also doesn't work for me. Even with package.json has:
.npmrc has:
Result:
Any ideas? |
Same issue here. We use Nexus Repository for internal packages which is a bit selective about features they implement from npm's API, so request to One very terrible hack is to bypass authentication by setting env variable Perhaps there could be an env variable or CLI/config option to skip authentication. |
@fregante After looking at all those issues, what would you suggest to fix the problem? Seems like a skip of the collaborators resource (and not failing) would be simple enough. PRs welcome for adding this? |
Given the age of this issue I'd say support isn't a priority, but mostly the issue is #320 I don't know what the consequences of "just ignore the collaborators check" would be. It sounds like if it's there it shouldn't just be ignored. Given the shortage of collaborators here, I suggest lobbying those vendors instead, which are paid (in the case of Nexus). Particularly for stuff like #519 (comment) |
Seems like |
Description
np
fails to publish package due to login error:Yet I did login beforehand and both
npm publish
andyarn publish
succeeded without any hitch.np
also fails to ensure that my repo has been published because it has been more than once.Steps to reproduce
I'm trying to publish a scoped package to Gemfury.io.
Expected behavior
np
should use credentialsnpm
andyarn
use to login to my custom registry.Environment
Node.js - 10.15.3 (via
n
)npm - 6.9.0
yarn - 1.16.0
Git - 2.21.0
OS - OSX 10.14.4
The text was updated successfully, but these errors were encountered: