Kotlin/JS jsRun gives error "[webpack-cli] TypeError: cli.isMultipleCompiler is not a function"
I have a Kotlin multiplatform project with JVM and JS. When executing jsRun gradle task to start the webpack server, it fails with the following error:
Waiting for changes to input files of tasks... (ctrl-d then enter to exit)
[webpack-cli] TypeError: cli.isMultipleCompiler is not a function
[webpack-cli] TypeError: cli.isMultipleCompiler is not a function
at Command. (C:\MyProject\build\js\node_modules\@webpack-cli\serve\lib\index.js:146:35)
at async Promise.all (index 1)
at...