I’ve been making a project in compose for web with...
# compose-web
n
I’ve been making a project in compose for web with relatively few problems thus far, but just hit a snag where it won’t run anymore.
./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 thread
1
Copy code
➜  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)
        ...
n
didn’t see that - many thanks!
t
It’s from previous slack comment
😂 1
n
🤦‍♂️
I swear I did skim those….clearly not thoroughly enough, haha
t
Don’t worry, previous question also duplicate
n
lol