Open
Description
Just checked out the project and tried to run browserDevelopmentRun but it fails with:
[webpack-cli] TypeError: cli.isMultipleCompiler is not a function
[webpack-cli] TypeError: cli.isMultipleCompiler is not a function
at Command. (/Users/Charles.Flynn/IdeaProjects/CF/web-app-react-kotlin-js-gradle/build/js/node_modules/@webpack-cli/serve/lib/index.js:146:35)
at async Promise.all (index 1)
at async Command. (/Users/Charles.Flynn/IdeaProjects/CF/web-app-react-kotlin-js-gradle/build/js/node_modules/webpack-cli/lib/webpack-cli.js:1687:7)
I've been able to fix it by bumping the webpack version as follows in build.gradle.kts:
rootProject.plugins.withType(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin::class.java) {
rootProject.the<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension>().versions.webpackCli.version = "4.10.0"
}
Putting this here in case anyone else comes across it, and so it can be fixed to prevent others encountering this.
Metadata
Metadata
Assignees
Labels
No labels