-
Notifications
You must be signed in to change notification settings - Fork 101
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
What is the significance of stats failing and how to prevent? #338
Comments
the plugin will read the stats produced by webpack to identify the assets it built. The error maybe an indication that the format changed. |
Sorry should have included that:
I also just tried these versions and I get the same error:
thanks for the quick response. Just to clearly emphasize, this is only an issue for electron, whereby the best practice (no official documentation on this that I could find) seems to be configuring a multi-compiler like so: If I just make a conventional config, an object not an array of objects, I do not see any errors. |
Any ideas how to debug this issue? One unfortunate side effect is that the exit code causes jenkins builds to fail even though the build is actually successful. Thanks |
Here's an example of it failing (now with bundler:
|
as a debugging tool, running webpack manually will at least show the true underlying issue.
So this could very well be a bug with scalajs bundler handling stats output incorrectly |
This appears to be a duplicate of: |
Webpack appears to correctly build an electron app that I can run with
electron
, but at the very end I see the message:I see in the change log this is expected if any std output gets generated:
https://github.com/scalacenter/scalajs-bundler/blob/08cd66ba26716301c09cae5853b42a7cc31e1c05/manual/src/ornate/changelog.md
So is it a concern? Any thoughts on how I can silence std output to avoid this error?
The text was updated successfully, but these errors were encountered: