Stefan Beyer
12/05/2021, 2:39 PM./gradlew jsBrowserRun --continuous
, I get this error:
[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 functionI don't have much experience with frontend technologies, but I found an issue in webpack-cli that sounds like my problem: https://github.com/webpack/webpack-cli/issues/2990 The issue seems to be, that webpack-cli/serve 1.6.0 must only be used with webpack-cli 4.9.1 or higher. Looking at the generated yarn.lock file in the build directory, I find that it uses:
"@webpack-cli/serve@^1.5.0":
version "1.6.0"
[...]
webpack-cli@4.7.1:
version "4.7.1"and from the limited stuff that I understand from the linked issue, these versions don't seem to be compatible. Now my question is: Can I somehow fix this? Maybe via some fancy config in the gradle DSL? Or is this a bug that needs to be fixed in compose? I am staring at this and have no clue what to do here ๐
andylamax
12/05/2021, 3:11 PMandylamax
12/05/2021, 3:12 PMStefan Beyer
12/05/2021, 3:17 PMRobert Jaros
12/05/2021, 3:28 PMNorbi
12/05/2021, 5:04 PMI was trying the tutorialI ... get this error+ it is sad how low priority is to attract more users to Compose/Web :(