Nikolai Wotton
08/18/2021, 6:40 PM./gradlew build
works fine, but ./gradlew jsBrowserProductionRun
fails consistently now. I’ve rolled back changes to where it was definitely working, so I’m guessing something wrong with my system not the repo. Anyone seen this before? Stacktrace in threadNikolai Wotton
08/18/2021, 6:43 PM➜ Hello-World git:(master) ./gradlew :compose-web:jsBrowserProductionRun --stacktrace > tmp.txt
[webpack-cli] Invalid configuration object. Object has been initialized using a configuration object that does not match the API schema.
- configuration has an unknown property '_assetEmittingWrittenFiles'. These properties are valid:
object { bonjour?, client?, compress?, dev?, firewall?, headers?, historyApiFallback?, host?, hot?, http2?, https?, liveReload?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, public?, setupExitSignals?, static?, transportMode?, watchFiles? }
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compose-web:jsBrowserProductionRun'.
> [webpack-cli] Invalid configuration object. Object has been initialized using a configuration object that does not match the API schema.
- configuration has an unknown property '_assetEmittingWrittenFiles'. These properties are valid:
object { bonjour?, client?, compress?, dev?, firewall?, headers?, historyApiFallback?, host?, hot?, http2?, https?, liveReload?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, public?, setupExitSignals?, static?, transportMode?, watchFiles? }
* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':compose-web:jsBrowserProductionRun'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:188)
....
Caused by: java.lang.IllegalStateException: [webpack-cli] Invalid configuration object. Object has been initialized using a configuration object that does not match the API schema.
- configuration has an unknown property '_assetEmittingWrittenFiles'. These properties are valid:
object { bonjour?, client?, compress?, dev?, firewall?, headers?, historyApiFallback?, host?, hot?, http2?, https?, liveReload?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, public?, setupExitSignals?, static?, transportMode?, watchFiles? }
at org.jetbrains.kotlin.gradle.internal.ExecKt$execWithErrorLogger$1.invoke(exec.kt:82)
...
turansky
08/18/2021, 6:49 PMNikolai Wotton
08/18/2021, 6:51 PMturansky
08/18/2021, 6:54 PMNikolai Wotton
08/18/2021, 6:55 PMNikolai Wotton
08/18/2021, 6:55 PMturansky
08/18/2021, 7:03 PMNikolai Wotton
08/18/2021, 7:04 PM