Bruno_
07/12/2020, 2:22 PM/home/.../IdeaProjects/.../build/js/node_modules/kotlinx-html-js/kotlinx-html-js.js:11
}(this, function (_, Kotlin) {
^
ReferenceError: HTMLLegendElement is not defined
at /home/.../IdeaProjects/.../build/js/node_modules/kotlinx-html-js/kotlinx-html-js.js:65:29
at /home/.../IdeaProjects/.../build/js/node_modules/kotlinx-html-js/kotlinx-html-js.js:5:5
at Object.<anonymous> (/home/.../IdeaProjects/.../build/js/node_modules/kotlinx-html-js/kotlinx-html-js.js:11:2)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Module.require (internal/modules/cjs/loader.js:1044:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object.<anonymous> (/home/.../IdeaProjects/.../build/js/node_modules/kotlin-wrappers-kotlin-react-dom-jsLegacy/kotlin-wrappers-kotlin-react-dom-jsLegacy.js:2472:106)
FAILURE: Build failed with an exception.
Bruno_
07/12/2020, 2:24 PMplugins {
id("org.jetbrains.kotlin.js")
}
repositories {
mavenCentral()
maven("<https://dl.bintray.com/kotlin/kotlinx>")
maven("<https://dl.bintray.com/kotlin/kotlin-eap>")
maven("<https://kotlin.bintray.com/kotlin-js-wrappers>")
}
dependencies {
implementation("org.jetbrains:kotlin-react:16.13.1-pre.109-kotlin-1.4-M3")
implementation("org.jetbrains:kotlin-react-dom:16.13.1-pre.109-kotlin-1.4-M3")
implementation(npm("react", "16.13.1"))
implementation(npm("react-dom", "16.13.1"))
}
kotlin {
js {
nodejs()
binaries.executable()
}
}
turansky
07/12/2020, 2:48 PMnodejs()
-> browser()
?turansky
07/12/2020, 2:50 PMimplementation(npm("react", "16.13.1"))
implementation(npm("react-dom", "16.13.1"))
}
Bruno_
07/12/2020, 2:59 PMBruno_
07/12/2020, 2:59 PMturansky
07/12/2020, 3:25 PM./gradlew clean
beforedazza5000
09/21/2020, 8:23 PMBruno_
09/23/2020, 12:25 PMdazza5000
09/23/2020, 2:36 PMdazza5000
09/23/2020, 2:36 PMBruno_
09/23/2020, 2:38 PMBruno_
09/23/2020, 2:38 PMBruno_
09/23/2020, 2:38 PMdazza5000
09/23/2020, 2:40 PMBruno_
09/23/2020, 8:09 PMdazza5000
09/23/2020, 9:05 PM