てべすてん- TBSten -
06/29/2025, 1:17 AMkotlin.wasmJs.browser()
and kotlin.wasmJs.nodejs()
to the module.
However, when I run the ./gradlew wasmJsBrowserTest
task for testing, I get the error: command /home/runner/.gradle/nodejs/node-v22.0.0-linux-x64/bin/node' exited with errors (exit code: 1)
(this occurs both in CI and locally).
The ./gradlew jsBrowserTest task succeeds, so this is puzzling.
• CI Error Log:
◦ wasmJsBrowserTest: https://github.com/yumemi-inc/Tart/actions/runs/15945080589/job/44978107464?pr=129#step:6:221
◦ jsBrowserTest: https://github.com/yumemi-inc/Tart/actions/runs/15384920112/job/43281638863?pr=125
• Source code: https://github.com/TBSten/Tart/tree/feature/wasm
◦ You can verify this locally in git clone <https://github.com/TBSten/Tart> && git fetch origin feature/wasm && git checkout feature/wasm
.
As shown in the CI Error Log > jsBrowserTest, no explicit browser setup is performed in the CI environment, but the jsBrowserTest
task has been successful in the past. I expected wasmJs to work similarly, but it does not, which is puzzling.