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

Private repository doesn't support "whoami" #519

Closed
slavafomin opened this issue Mar 24, 2020 · 3 comments
Closed

Private repository doesn't support "whoami" #519

slavafomin opened this issue Mar 24, 2020 · 3 comments

Comments

@slavafomin
Copy link

Hello!

Thank you for this great tool!

However, we are using private Nexus Repository to store our npm packages and it seems that it doesn't support whoami command. It makes np to fail with an error that we can't fix on our side.

Does this tool really need to execute this command? Would it be possible to provide another way to specify the username?

Thanks!

@dopecodez
Copy link
Collaborator

Any ideas which commands it supports? We have np using whoami for authenticating if user is logged in to the npm registry. I do not think adding a quick fix for a private repo sounds feasible.

@TUNER88
Copy link

TUNER88 commented Jul 27, 2020

I've similar issue, I would suggest to add a flag for skipping registry authentication checks.
I'm using a workaround by setting NODE_ENV=test, but would be great to have a proper flag for that.

@developit what do you think about?

@fregante
Copy link
Collaborator

fregante commented Feb 3, 2023

it seems that it doesn't support whoami command

Sounds like an issue with your provider. npm whoami exists since at least npm v1

Duplicate of #420 anyway

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

No branches or pull requests

4 participants