webpackbar
webpackbar copied to clipboard
Doesn't show anything. Docs are not clear about default usage.
Version
Reproduction link
Steps to reproduce
My version is 4. It is not listed in options. I am on windows and i setup as poor ass docs says. Nothing show on console.
What is expected ?
It doesn't show "fancy" bars.
What is actually happening?
Says compiling and done as Basic mode.
Additional comments?
I agree, documentation is sketchy at best.
Basic fallback happens when no TTY is available this is not a bug. Need more info like console being in use or at least screenshot to even give any hint.
It does work only on new Windows Terminal! Not on git-shell or conemu.
Would love to implement this in a PR for nuxt (to show progress during route generation) - but it is unclear exactly how
It does work only on new Windows Terminal! Not on git-shell or conemu.
yes!yes!yes!
I've been through a similar situation.
In conclusion, when there was JENKINS_URL
in the environment variable, logs were not displayed.
The cause is that if there is JENKINS_URL
in std-env
, it is determined that it is a CI environment.
https://github.com/unjs/std-env/blob/main/src/providers.ts#L77
It seems that the log is not output because consola is not using FancyReporter. https://github.com/unjs/consola/blob/main/src/index.ts#L27
(It may only happen with newer versions of nuxt, not webpackbar alone.)