Hi . I’ve created a new project through intellij Idea (New Project -> Gradle -> Kotlin/JS for browser) and get an error from start. What does it mean and how can I solve it?
f
frank
05/30/2020, 6:31 PM
You forgot of uncheck java in wizard of Project creation. (default checked java)
Remove java plugin of build.gradle and JUnit think useless in JS.
e.g:
Copy code
plugins{
id 'org.jetbrains.kotlin.js' version '1.3.72'
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-js"
testImplementation "org.jetbrains.kotlin:kotlin-test-js"
}