Skip to content
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

No Stats #29

Closed
mario-huang opened this issue Nov 8, 2018 · 13 comments
Closed

No Stats #29

mario-huang opened this issue Nov 8, 2018 · 13 comments

Comments

@mario-huang
Copy link

mario-huang commented Nov 8, 2018

update to 3.0.0, There's no Stats by Ext or Stats by Loader.
But 2.5.0 is fine.

This question is available on Nuxt community (#c22)
@ghost ghost closed this as completed Nov 8, 2018
@ghost ghost added the cmty:question label Nov 8, 2018
@ghost
Copy link

ghost commented Nov 8, 2018

This issue as been imported as question since it does not respect webpackbar issue template. Only bug reports and feature requests stays open to reduce maintainers workload.
If your issue is not a question, please mention the repo admin or moderator to change its type and it will be re-opened automatically.
Your question is available at https://cmty.app/nuxt/webpackbar/issues/c22.

@pi0 pi0 reopened this Nov 8, 2018
@pi0
Copy link
Member

pi0 commented Nov 9, 2018

Hey @myeveryheart. Thanks for reporting. It should be fine with the latest release (3.1.2)

@pi0 pi0 closed this as completed Nov 9, 2018
@MartinCerny-awin
Copy link

I am using the latest version, but I still can't see stats

@pi0
Copy link
Member

pi0 commented Nov 11, 2018

@MartinCerny-awin Do you enable it using profile: true option?

@MartinCerny-awin
Copy link

Yes, I do

@pi0 pi0 reopened this Nov 12, 2018
@ruiming
Copy link

ruiming commented Nov 14, 2018

Same problem with profile on.

@Airkro
Copy link

Airkro commented Dec 4, 2018

same problem in 3.1.3

@kevin-atnos
Copy link

kevin-atnos commented Jan 22, 2019

Hello,

I have the same problem with 3.1.5, can't see any stat.
Even with profile: true

@Yohox
Copy link

Yohox commented Feb 12, 2019

try to set like this :
new WebpackBar({ reporters: [ 'profile'], profile: true })

because profile will should when reporters set profile

@Airkro
Copy link

Airkro commented Feb 13, 2019

@Yohox, It works, but missing table line.
image

@Yohox
Copy link

Yohox commented Feb 13, 2019

@Airkro
we can see https://github.com/nuxt/webpackbar/blob/0c05d65093973058d07faed4b3d2d3e85fa13bbe/src/utils.js

this version use table print the table line but now v3.1.5

the table pacakge change to text-table so it hasn't table line~ if you like this you can fork it and change the package to text-table~

after that 我们可以说中文

@kevin-atnos
Copy link

try to set like this :
new WebpackBar({ reporters: [ 'profile'], profile: true })

because profile will should when reporters set profile

Hello,

Thank you Yohox for this solution, this is great :)

@atinux atinux closed this as completed Oct 23, 2020
@ilharp
Copy link
Contributor

ilharp commented Nov 13, 2021

For using bars reporter and profiler at the same time:

new Webpackbar({
  reporters: ['fancy', 'profile'],
  profile: true,
}),

Tested on webpackbar@5.0.2


But it's still kinda strange to manually set reporters ... The Options section in README.md mentioned that the profile can be used to "enable profiler" but it doesn't actually do it. I'll create a PR to fix this.

ilharp added a commit to ilharp-contrib/webpackbar that referenced this issue Nov 13, 2021
unjs#29 (comment)

## Temporary workaround

```ts
new Webpackbar({
  reporters: ['fancy', 'profile'],
  profile: true,
}),
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants