I was doing the tutorial for React Kotlin and couldnt even finish the setup step because the server does not start.
The code is unchanged : https://github.com/kotlin-hands-on/web-app-react-kotlin-js-gradle
Stacktrace:
[webpack-cli] Unable to load '@webpack-cli/serve' command
[webpack-cli] TypeError: options.forEach is not a function
[webpack-cli] TypeError: options.forEach is not a function
我看到了这个问题:https://github.com/webpack/webpack-cli/issues/2990,但我无法实施建议的修复(更改webpack cli版本,并从Thread.lock中删除webpack cli/serve),因为我在kotlin js gradle插件上找不到如何更改这些.
Even simple browser application from intelliJ is broken with the same error.