scalacenter / scalajs-bundler

https://scalacenter.github.io/scalajs-bundler
Other
237 stars 101 forks source link

Failure to parse output of webpack #257

Closed matthughes closed 4 years ago

matthughes commented 6 years ago

I get this error when running webpack after upgrading to the latest version. My app still seems to run but I"m not sure what is going on here.

[info] Building webpack library bundles for project-client in /Users/mhughes/development/project/client/target/streams/$global/$global/$global/streams/fastOptJS-webpack-libraries
[info] Writing scalajs.webpack.config.js
[error] Failure on parsing the output of webpack: Unrecognized token 'Running': was expecting ('true', 'false' or 'null')
[error]  at [Source: java.lang.UNIXProcess$ProcessPipeInputStream@496da7eb; line: 1, column: 9]
[error] You can try to manually execute the command
[error] node /Users/mhughes/development/project/client/target/scala-2.12/scalajs-bundler/main/node_modules/webpack/bin/webpack --bail --profile --json --config /Users/mhughes/development/project/client/target/scala-2.12/scalajs-bundler/main/dev.webpack.config.js
[error]
cquiroz commented 6 years ago

Most likely your webpack or some plugin is producing debugging output to stdout. That interferes with the parsing of the output and produces the error. as it is mentioned there you can try to run manually to discover the underlying reason

matthughes commented 4 years ago

Closing as I can't reproduce this.