-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
TERM=dumb and --no-progress is ignored #3314
Labels
Bug
thing that needs fixing
Priority 2
secondary priority issue
Release 7.x
work is associated with a specific npm 7 release
Comments
tim-janik
added
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 7.x
work is associated with a specific npm 7 release
labels
May 27, 2021
nlf
added
Priority 2
secondary priority issue
and removed
Needs Triage
needs review for next steps
labels
May 28, 2021
Since postinstall is treated differently using --foreground-scripts helps however the progress bar is now blocking our prompts for more information on install. Any work around to hide the progress bar would be appreciated Thx |
Just to repeat in here as the other issue has been closed, one current workaround is to pipe the output through
|
lukekarrys
added a commit
that referenced
this issue
Mar 30, 2022
lukekarrys
added a commit
that referenced
this issue
Mar 31, 2022
markus456
added a commit
to mariadb-corporation/MaxScale
that referenced
this issue
Jul 13, 2022
The --no-progress option would normally be the answer but currently it is broken due to a bug in NPM: npm/cli#3314
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
Bug
thing that needs fixing
Priority 2
secondary priority issue
Release 7.x
work is associated with a specific npm 7 release
Is there an existing issue for this?
Current Behavior
Progressbar is shown when it should not:
Expected Behavior
Progressbar disabling works:
Steps To Reproduce
The 'progress' config value and TERM=dumb checks work correctly in setup-log.js.
But later on, progress is enabled unconditionally, regardless of the config, here:
Disabling this line fixes the behaviour, so TERM=dumb and --progress=false have an effect again.
Note that there are other places that still disable/enable progress unconditionally without regards to the config setting, these might need review as well:
Environment
The text was updated successfully, but these errors were encountered: