Hi, I created a project from the GitHub-Template, ...
# fritz2
m
Hi, I created a project from the GitHub-Template, but it does not start. Does anybody know what I'm doing wrong? Thank!
$ ./gradlew jsRun
Copy code
> Task :jsBrowserDevelopmentRun FAILED
[webpack-cli] Invalid configuration object. Object has been initialized using a configuration object that does not match the API schema.
 - configuration has an unknown property '_assetEmittingWrittenFiles'. These properties are valid:
   object { bonjour?, client?, compress?, dev?, firewall?, headers?, historyApiFallback?, host?, hot?, http2?, https?, liveReload?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, public?, setupExitSignals?, static?, transportMode?, watchFiles? }
c
This is a bug in kotlin.js: https://kotlinlang.slack.com/archives/C0B8L3U69/p1629069160242100 You have to manually tweak your
gradle.properties
file and add the following line:
Copy code
kotlin.js.webpack.major.version=4
This should be fixed with the version 1.5.30 of kotlin, which we are planing to stick as default for the upcoming release 0.12 of fritz2 (coming hopefully in the next week ending our vacation related release delay ;-) )
m
Aha, good to know. Thank you! Enjoy your vacation 🙂
c
Sadly they are over - but now we are all motivated to get the version done 🙂
K 1
We are done btw - PR 514 solves the issue "en passent" :-)
👍 1