-
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] npx --force warning hides confirmation prompt to install package #3461
Comments
This does not attempt to pause the log, if https://github.com/npm/libnpmexec/blob/main/lib/index.js#L168-L171 |
This also happens when trying |
I've post PR npm/libnpmexec#8 to fix this issue. @lauta3011 |
With new libnpmexec: ~/D/n/cli (release-next↑1|✔) $ node . exec @gar/create-test --force
npm WARN using --force Recommended protections disabled.
Need to install the following packages:
@gar/create-test
Ok to proceed? (y) |
Thank you @rayw000 |
Current Behavior
When using
npx --force
, the warning printed due to using--force
covers up the prompt asking the user to enter "y" to proceed. At first glance it looks like the command has hung waiting for I/O or something.Expected Behavior
The command output should not hide the line prompting the user to enter "y" to proceed.
Steps To Reproduce
npx --force mkdirp
.Environment
The text was updated successfully, but these errors were encountered: