https://kotlinlang.org logo
Title
m

Miroslav Sobotka

08/26/2021, 6:10 PM
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
> 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

Christian Hausknecht

08/27/2021, 7:51 AM
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:
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

Miroslav Sobotka

08/27/2021, 7:39 PM
Aha, good to know. Thank you! Enjoy your vacation 🙂
c

Christian Hausknecht

08/30/2021, 7:36 AM
Sadly they are over - but now we are all motivated to get the version done 🙂
:kotlin-intensifies: 1
We are done btw - PR 514 solves the issue "en passent" :-)
👍 1