I guess it matters to post it here as well :slight...
# compose-web
k
I guess it matters to post it here as well 🙂
👍🏻 1
K 5
👍 2
🙌 1
f
Hey man, I'm getting an error in this new task you mention in the original post with this configuration:
Copy code
composeCompiler {
    targetKotlinPlatforms.set(
        targetKotlinPlatforms.get() - KotlinPlatformType.js
    )
}
My project has Kotlin JS enabled, but does not support compose on JS. Am I missing anything?
Copy code
Could not create task ':sdk-shared:composeCompatibilityBrowserDistribution'.
> Task with name 'jsBrowserProductionWebpack' not found in project ':sdk-shared'.
k
you must run the task for the app module
f
I'm facing this error when running the
allTests
(
./gradlew allTests
)
k
then file an issue, please youtrack
🤘 1
cc @[JB] Shagen
f
I was checking the PR, and it looks like it just gets the KMP plugin and configures based on it. Probably just need to also include the check for the compose compiler declaration: https://github.com/JetBrains/compose-multiplatform/pull/5375/files#diff-587ebb412d450e4a997d33f680e3a4e244ddba68a6e621db24ffd4cd65190224R131
CMP-8775 composeCompatibilityBrowserDistribution task does not follow the compiler configuration
I've also linked the repro project with a minimal readme describing the configuration
k
thank you for the feedback!