-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[BUG] Can't login to NPM #6636
Comments
This is still happening in NPM 10 as well, using Artifactory.
|
This appears to be caused by npm/promise-spawn#62. A workaround for now is to use |
It seems like this issue may be related to the interaction between Node.js and WSL, particularly how Node.js handles shell calculations. I referenced the child process API documentation https://nodejs.org/api/child_process.html#default-windows-shell .However, if anyone else has encountered similar issues or has insights into the WSL/Node.js shell interaction in this area can dig deeper into this. |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Upon running
npm login
, I get the following output.Log:
(This also happened to me in v8. Updating to v9 did not fix it)
Expected Behavior
It logs in
Steps To Reproduce
Run
npm login
in the environment I'm usingEnvironment
The text was updated successfully, but these errors were encountered: