I'm trying to solve an issue running compose web (...
# compose-web
r
I'm trying to solve an issue running compose web (Both JS and wasm)
Copy code
13:13:24: Executing 'jsBrowserDevelopmentRun'
Ends in an error:
Copy code
e: org.jetbrains.kotlin.util.FileAnalysisException: While analysing /Users/user/branches/Binshelve/composeApp/build/generated/compose/resourceGenerator/kotlin/commonResClass/binshelve/composeapp/generated/resources/Res.kt:17:1: org.jetbrains.kotlin.utils.exceptions.KotlinIllegalArgumentExceptionWithAttachments: Exception in declaration checkers

Execution failed for task ':composeApp:compileKotlinJs'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Internal compiler error. See log for more details
Here is the complete stacktrace
It is only failing running wasm or js target, desktop works fine. I've included 3 drawables converted from svg using android studio and fonts.
Also, I've seen missing stlib and it is included in common module. Do I miss anything?
a
did u try
clean
? might be a generated artifact
r
Yes, tried multiple times but did not work. 😕
y
you can try running this gradle command:
./gradlew kotlinUpgradeYarnLock
r
I founded the issue, is because of materialkolor library.