https://kotlinlang.org logo
#compose-web
Title
# compose-web
j

julien lengrand-lambert

10/08/2021, 1:56 PM
Hey there, I’m trying compose web for the first time today. It’s been a few times that I face this error
Copy code
> Task :jsBrowserDevelopmentRun FAILED
[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
d

David Herman

10/08/2021, 4:56 PM
Any chance you're using kotlin script and the example you're copying from is not (or vice versa?)
j

julien lengrand-lambert

10/08/2021, 4:57 PM
This was the issue (and the fix) : https://youtrack.jetbrains.com/issue/KT-49124
d

David Herman

10/08/2021, 4:57 PM
Ah fair enough!
2 Views