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
In my KMP JB-Compose (https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.6.1) project, after adding the kotlinx.datetime 0.6.0-RC.2 dependency, the Gradle task allTests fails with the following error in the Gradle logs. This issue does not occur with kotlinx.datetime v0.5.0.
404: /absolute/var/folders/wr/cwkk1nld4yx87g2y0g152vqr0000gp/T/_karma_webpack_121626/node_modules_js-joda_core_dist_js-joda_esm_js.js
(error: /var/folders/wr/cwkk1nld4yx87g2y0g152vqr0000gp/T/_karma_webpack_121626/node_modules_js-joda_core_dist_js-joda_esm_js.js)
at __webpack_require__.f.j (/var/folders/wr/cwkk1nld4yx87g2y0g152vqr0000gp/T/_karma_webpack_121626/runtime.js:292:29)
at /var/folders/wr/cwkk1nld4yx87g2y0g152vqr0000gp/T/_karma_webpack_121626/runtime.js:153:40
at Array.reduce (<anonymous>)
at __webpack_require__.e (/var/folders/wr/cwkk1nld4yx87g2y0g152vqr0000gp/T/_karma_webpack_121626/runtime.js:152:67)
at instantiate (/Users/username/github/company/project-prototype/kmp/build/js/packages/ProjectPoCLibraryAndDemo-shared-wasm-js-test/kotlin/ProjectPoCLibraryAndDemo-shared-wasm-js-test.uninstantiated.mjs:13:73 <- load.579565371.js:47:93)
at /Users/username/github/company/project-prototype/kmp/build/js/packages/ProjectPoCLibraryAndDemo-shared-wasm-js-test/kotlin/ProjectPoCLibraryAndDemo-shared-wasm-js-test.mjs:3:34 <- load.579565371.js:18:178
at __webpack_require__.a (/var/folders/wr/cwkk1nld4yx87g2y0g152vqr0000gp/T/_karma_webpack_121626/runtime.js:83:13)
at ./kotlin/ProjectPoCLibraryAndDemo-shared-wasm-js-test.mjs (load.579565371.js:10:21)
at Function.__webpack_require__ (/var/folders/wr/cwkk1nld4yx87g2y0g152vqr0000gp/T/_karma_webpack_121626/runtime.js:23:41)
java.lang.IllegalStateException: command '/Users/username/.gradle/nodejs/node-v18.12.1-darwin-arm64/bin/node' exited with errors (exit code: 1)
> Task :shared:allTests FAILED
Maybe useful to reproduce the issue: my libs.versions.toml file (note that not all deps are actually used, partially because this project still contains a lot of the config generated by https://kmp.jetbrains.com/):
Sorry, no idea what's going on without a reproducer. This could be a problem with the tooling, or a mismatch between compiler versions, or anything, really.
While trying to create steps to reproduce, I identified a similar issue unrelated to kotlinx.datetime in an early step (before adding the dependency on kotlinx.datetime), so it's probably unrelated to this repo. Thanks for responding quickly and sorry to bother you. I'll try to find the correct repository to report this in. Probably https://github.com/JetBrains/compose-multiplatform.
In my KMP JB-Compose (https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.6.1) project, after adding the kotlinx.datetime 0.6.0-RC.2 dependency, the Gradle task
allTests
fails with the following error in the Gradle logs. This issue does not occur with kotlinx.datetime v0.5.0.Maybe useful to reproduce the issue: my libs.versions.toml file (note that not all deps are actually used, partially because this project still contains a lot of the config generated by https://kmp.jetbrains.com/):
The text was updated successfully, but these errors were encountered: