Skip to content

What is the significance of stats failing and how to prevent? #338

@evbo

Description

@evbo

Webpack appears to correctly build an electron app that I can run with electron, but at the very end I see the message:

[info] Writing scalajs.webpack.config.js
[error] Error parsing webpack stats output
[error] /assets: JsonValidationError(List(error.path.missing),WrappedArray())
[error] /time: JsonValidationError(List(error.path.missing),WrappedArray())

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions