diff --git a/tutorials/Web/Getting_Started/README.md b/tutorials/Web/Getting_Started/README.md index 4e829f8cf6..1e8f89006f 100644 --- a/tutorials/Web/Getting_Started/README.md +++ b/tutorials/Web/Getting_Started/README.md @@ -141,3 +141,25 @@ Or run it from the IDE: The browser will open `localhost:8080`: + +## Common issues when running the project + +#### [webpack-cli] Unable to load '@webpack-cli/serve' command +https://youtrack.jetbrains.com/issue/KT-49124 +``` +[webpack-cli] Unable to load '@webpack-cli/serve' command +[webpack-cli] TypeError: options.forEach is not a function +... +``` +There is a temporary workaround: +``` +In build.gradle.kts: + +// a temporary workaround for a bug in jsRun invocation - see https://youtrack.jetbrains.com/issue/KT-48273 +afterEvaluate { + rootProject.extensions.configure { + versions.webpackDevServer.version = "4.0.0" + versions.webpackCli.version = "4.9.0" + } +} +```