-
-
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
np
interactive prompt exits at version selection with no output/error
#605
Comments
That's actually pretty interesting, because giving the version through the Will be a tough bug to take a look at since it only seems to happen on Azure though, setting up a private repo account outside of |
Got the same issue - @lokimckay what did you end up doing ? |
@etiennejcharles |
Thanks for starting this thread as I'm on azure as well. It seems |
Turns out np passes the non-whitespace characters to |
Tracked in #420 |
Description
When running
np
without any other arguments, the process abruptly exits after it reaches the version selection stage (right after asking to continue even though there are no commits)Running
np
with a version argument provided (e.g.np patch
) works successfully with no issuesI have a hunch the issue is related to using Azure as a custom registry, because using the regular npm registry prompts for a version input as expected
Sorry, I cannot provide a reproduction repository because I am working with sensitive company registry and code, and don't have the access to set up a separate Azure registry
Steps to reproduce
npm install --save-dev np
Authenticate with the Azure feed: see here
Run
npx np
in terminalExpected behavior
np
interactively prompts for a version input as seen here:Environment
np - 7.4.0 (note: downgrading to version 5.0.0, does not have this same issue - but has other issues related to 2fa)
Node.js - 12.21.0
npm - 6.14.11
Git - 2.30.0.windows.1
OS - Windows 10 Pro
The text was updated successfully, but these errors were encountered: