mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
add common issues section to Web/Getting_Started tutorial
This commit is contained in:
committed by
GitHub
parent
a0366766a6
commit
716ae31757
@@ -141,3 +141,25 @@ Or run it from the IDE:
|
||||
The browser will open `localhost:8080`:
|
||||
|
||||
<img alt="" src="run_result.png" height="500" />
|
||||
|
||||
## 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<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension> {
|
||||
versions.webpackDevServer.version = "4.0.0"
|
||||
versions.webpackCli.version = "4.9.0"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user