question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Duplicate bars on webpack error

See original GitHub issue

Version

v3.0.0

Reproduction link

https://github.com/manniL/lichter.io

Steps to reproduce

webpackbar-duplicated-bars

  1. Download latest master version (linked above)
  2. Install deps
  3. Run yarn generate

Happens in WebStorm terminal but also in normal Gnome Terminal. (Running Ubuntu LTS)

What is expected ?

No duplicate Client bar

What is actually happening?

Duplicate bar

<div align="right">This bug report is available on Nuxt community (#c26)</div>

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
ghostcommented, Mar 3, 2020

@EnjoyChan lets wait for another year. Or use friendlyerrorplugin

1reaction
lex111commented, Nov 13, 2020

@pi0 hi, I hope you help me, because I am facing duplicate output issue. In short, I have two webpack compilers, one uses multi-config (server/client), the second uses a separate config (for PWA, i.e. service worker), and is executed accordingly later after first. As a result, I get the following output:

✔ Client
  Compiled successfully in 24.60s

✔ Server
  Compiled successfully in 29.86s


✔ Client
  Compiled successfully in 24.60s

✔ Server
  Compiled successfully in 29.86s

✔ Service Worker
  Compiled successfully in 909.34ms

Although I expect to see the following:

✔ Client
  Compiled successfully in 24.60s

✔ Server
  Compiled successfully in 29.86s

✔ Service Worker
  Compiled successfully in 909.34ms

Is it possible to add an option to remove state from a previous call to WebpackBar? As I understand you are using the global state, which is probably the reason for this behavior.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Duplicate bars on webpack error · Issue #32 · unjs/webpackbar
Any update on this issue? I poked around and found out that if we remove this piece of code, it does not duplicate...
Read more >
70 - Stack Overflow
I had a similar error and was able to resolve it with the command webpack src/index.js -o dist/bundle.js the -o did the trick....
Read more >
Finding and fixing duplicates in webpack with Inspectpack
In this post we will do a deep dive into various ways that dependencies can unnecessarily bloat bundles to better understand the problem...
Read more >
ProgressPlugin - webpack
To solve this problem ProgressPlugin caches the last known total modules count and reuses this value on the next build. The first build...
Read more >
Copy Menu Bar - Forum - Network Performance Monitor (NPM)
It would be exceptionally cool if you could copy a menu bar. ... Hi, NPM is returning an error anytime I try to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found