Don't know if this is the proper place to ask this...
# compose-web
m
Don't know if this is the proper place to ask this question so sorry if not. I am starting with compose for web with no prior knowledge of the JS ecosystem. I have an error that seems to be related to the version of node which I can't find where I can set it. Gradle uses a version from ~/.gradle/nodejs/node-v14.15.4-linux-x64/. If I don't specify in gradle.properties to use webpack ver4 (kotlin.js.webpack.major.version=4) than I have a runtime issue: Execution failed for task ':jsBrowserDevelopmentRun'.
[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: ..._
👍 1
1
o
https://kotlinlang.slack.com/archives/C0B8L3U69/p1629069160242100?thread_ts=1629069160.242100&cid=C0B8L3U69 Setting the webpack version as you did is the current workaround. There is also a youtrack issue in that thread if you want to follow
m
Thank you! Interestingly enough Google didn't find any result with _assetEmittingWrittenFiles and kotlin. Maybe it will be nice to interface with Slack and have all conversations indexed somehow so Google can find them. That would increase the addoption maybe. Thanks again!
f
That would actually be amazing. There is so much information in these slack channels.
c
Slack doesn't save all messages though. I recommend self-answering StackOverflow questions for posterity
🙏 1