Hi, I'm new to Kotlin Wasm. When I run my multipla...
# compose-web
y
Hi, I'm new to Kotlin Wasm. When I run my multiplatform app, everything works fine on Android, iOS, and desktop targets. However, when building for Wasm, the process takes hours and never completes. I also get this Gradle warning:
:kotlinStoreYarnLock
,
:composeApp:compileDevelopmentExecutableKotlinWasmJs
, and a
java.lang.OutOfMemoryError: Java heap space
. here is the project link: https://github.com/yassineAbou/LLMS Any advice?
a
Use this command in the terminal and run again. I wish it will help
./gradlew kotlinUpgradeYarnLock
1
d
You can double the java heap space in gradle.properties
1
y
Thanks everyone for your support🙏. Everything is working now
🙌 1