Replies: 18 comments
-
What does |
Beta Was this translation helpful? Give feedback.
-
I just replaced the actual paths in the project |
Beta Was this translation helpful? Give feedback.
-
Probably there is something with joining paths from here: https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/master/src/analyzer.js#L50 I can create small demo project for this issue, if you want |
Beta Was this translation helpful? Give feedback.
-
Yes, it would help a lot. |
Beta Was this translation helpful? Give feedback.
-
@th0r: |
Beta Was this translation helpful? Give feedback.
-
same issue here. local macos builds fine, and remote CI produces this error saying:
webpack version not locked using |
Beta Was this translation helpful? Give feedback.
-
the same problem with me. it is normal when build on mac os, but linux makes errors. this is my package version
|
Beta Was this translation helpful? Give feedback.
-
Same thing here, any thoughts? |
Beta Was this translation helpful? Give feedback.
-
A possible workaround to make it work, in case you have an output directory named webpack --profile --json > stats.json && webpack-bundle-analyzer stats.json dist/ |
Beta Was this translation helpful? Give feedback.
-
@Solant thank you! But didn't help. In the end we've resolved it by adding second build, since it's always building OK on the second time in CI. First build is allowed to fail. |
Beta Was this translation helpful? Give feedback.
-
always happen in webpack5 |
Beta Was this translation helpful? Give feedback.
-
@vnues Can you provide example of the problem? |
Beta Was this translation helpful? Give feedback.
-
hello,This is my project, you can perform the following steps git clone [email protected]:art-design-ui/noov.js.git
npm i
npm run dev
|
Beta Was this translation helpful? Give feedback.
-
Is there any way for us to remove the extra noise right now? |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
-
Looks like @agtemail11Soft your build is broken as webpack says it has errors. This is likely not an issue with webpack-bundle-analyzer and is not the same thing as what the first message in this issue is about. |
Beta Was this translation helpful? Give feedback.
-
I had the same problem, did you solve it? |
Beta Was this translation helpful? Give feedback.
-
i replace the packaging code,and it's run ok: |
Beta Was this translation helpful? Give feedback.
-
Error parsing bundle asset "*" no such file when mixing relative paths
Looks like mixing paths for output
stats.json
and webpack entries causes this error.Technical info
Debug info
Bundle analyzer is launched as npm script:
webpack --profile --json > dist/stats.json && webpack-bundle-analyzer dist/stats.json
And webpack entries look like that:
So, when
webpack --profile --json > dist/stats.json && webpack-bundle-analyzer dist/stats.json
Errors like
appear, and no parsed size (only stat size) available, but when using
webpack --profile --json > stats.json && webpack-bundle-analyzer stats.json
everything works fine
Beta Was this translation helpful? Give feedback.
All reactions