What does this mean?? java.lang.IllegalStateExcept...
# compose-web
v
What does this mean?? > java.lang.IllegalStateException: ERROR: Compose targets '[jscanvas]' are experimental and may have bugs! > But, if you still want to use them, add to gradle.properties: > org.jetbrains.compose.experimental.jscanvas.enabled=true I will not be using Compose Multiplatform for Web, but have a Vue.js frontent using the shared KMP module
t
It's pretty clear. Most likely you are using "Canvas" in the main file of your target. If you don't want to use it - simply remove it.
v
Using Canvas where I have not yet added any module for the frontend just added
js(IR) {}
in the Shared gradle file of my existing android and iOS targetting KMP project
t
I am sorry but in this case without the code, it would be hard to help you. Maybe you can create some setup as yours and give a link.
p
It sounds like you applied the compose multiplatform plugin to your project.
v
Yes, all my modules have Compose Plugin applied, as Android and iOS are using Compose Multiplatform
I want to build web using Vue.js
p
In such a case you get this error message when you add
js
as target. Just do what the error tells you to do
v
Okay, thanks