I tried to use gradle for transpiling Kotlin to Js. When I run the example from https://www.codeflow.site/fr/article/kotlin-javascript I got the error :
Could not initia
I just had the same issue. On windows, I checked the kotlin version from the command line with gradle -v and then adjusted the kotlin version in build.gradle of my project to match my version of gradle.