You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What went wrong:
A problem was found with the configuration of task ':webApp:wasmJsProductionExecutableCompileSync' (type 'DefaultIncrementalSyncTask').
Gradle detected a problem with the following location: '/workspace/kmm/compose-multiplatform/examples/imageviewer/build/js/packages/imageviewer/kotlin'.
Reason: Task ':webApp:jsBrowserProductionWebpack' uses this output of task ':webApp:wasmJsProductionExecutableCompileSync' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
Declare task ':webApp:wasmJsProductionExecutableCompileSync' as an input of ':webApp:jsBrowserProductionWebpack'.
Declare an explicit dependency on ':webApp:wasmJsProductionExecutableCompileSync' from ':webApp:jsBrowserProductionWebpack' using Task#dependsOn.
Declare an explicit dependency on ':webApp:wasmJsProductionExecutableCompileSync' from ':webApp:jsBrowserProductionWebpack' using Task#mustRunAfter.
The text was updated successfully, but these errors were encountered:
Description of the Bug
imageviewer JsWasm build fail with error Unresolved reference 'JsModule'
Affected platforms
Versions
Last main code base.
kotlin.version= 2.0.0
agp.version= 8.0.2
compose.version= 1.6.10
To Reproduce
Steps to reproduce the behaviour:
But when running
the webpage started and everything is working !!
Possible related issue
https://youtrack.jetbrains.com/issue/KT-56025
https://youtrack.jetbrains.com/issue/KT-51942
Additional Error log
compose-multiplatform/examples/imageviewer/shared/src/jsWasmMain/kotlin/example/imageviewer/utils/uuid.kt:3:2 Unresolved reference 'JsModule'.
Task failed with an exception.
A problem was found with the configuration of task ':webApp:wasmJsProductionExecutableCompileSync' (type 'DefaultIncrementalSyncTask').
Gradle detected a problem with the following location: '/workspace/kmm/compose-multiplatform/examples/imageviewer/build/js/packages/imageviewer/kotlin'.
Reason: Task ':webApp:jsBrowserProductionWebpack' uses this output of task ':webApp:wasmJsProductionExecutableCompileSync' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
The text was updated successfully, but these errors were encountered: