Closed CMingTseng closed 3 years ago
@akurasov
Dear Sir
i found some ???
the demo
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension
i use kotlin 1.5.21 but i clcik "NodeJsRootExtension"
the ide open kotlin 1.4.31 ??!!
@CMingTseng please try to run it again. The workaround for webpack version was updated and merged: https://github.com/JetBrains/compose-jb/pull/1166 so examples should work again
@CMingTseng please try to run it again. The workaround for webpack version was updated and merged: #1166 so examples should work again Dear Sir
i look the https://github.com/JetBrains/compose-jb/pull/1166
it fixed at kotlin 1.5.30 ?
but i also use pure Android compose project
the kotlin 1.5.30 will build fail !!
the build tip say add "suppressKotlinVersionCompatibilityCheck" ?
but it still fail !!
the pure Android compose project can build by kotlin 1.5.21
THX
The TodoApp example uses kotlin 1.5.21 version and compose 1.0.0-alpha2. If you want to try it with kotlin 1.5.30 then newer compose build has to be used, try it with 1.0.0-alpha4-build348
The TodoApp example uses kotlin 1.5.21 version and compose 1.0.0-alpha2. If you want to try it with kotlin 1.5.30 then newer compose build has to be used, try it with 1.0.0-alpha4-build348
Dear Sir
very thanks
i run this todo app --- desktop/android with kotlin 1.5.21 version and compose 1.0.0-alpha2 is OK
but run web version
will get build fail !!
i ref this post https://youtrack.jetbrains.com/issue/KT-48273
add
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension
afterEvaluate {
extensions.configure
but get
Extension of type 'NodeJsRootExtension' does not exist. Currently registered extension types: [ExtraPropertiesExtension, KotlinMultiplatformExtension, KotlinTestsRegistry, DefaultArtifactPublicationSet, SourceSetContainer, ReportingExtension, JavaPluginExtension, JavaToolchainService, ComposeExtension, ScriptingExtension]
now i try ref https://github.com/JetBrains/compose-jb/pull/1166
upgrade to
kotlin 1.5.30 with compose 1.0.0-alpha4-build348
but i get new error !!
the "pure" Android compose project not suppoert kotlin 1.5.30 !!
if use kotlin 1.5.30 i will get https://youtrack.jetbrains.com/issue/IDEA-278282?replyTo=27-5196674
THX
@eymar
very thx
i re-clone this project & clear build
https://github.com/CMingTseng/compose-jb/tree/lost_NodeJsRootExtension
now it work
https://youtrack.jetbrains.com/issue/KT-48781
THX
this issue can close
because
afterEvaluate {
rootProject.extensions.configure
but i use
afterEvaluate {
extensions.configure
i lost " rootProject " !!
sorry for my stupid
THX
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
I try to build the last Todo app
but when l lost the project i get error !!
PS. if i rollback to early example ( base on JetBrains compose 0.4.0-build184 ) it is ok !!
A problem occurred configuring project ':web'.