After upgrading to Kotlin 1.8.0 (together with kot...
# react
l
After upgrading to Kotlin 1.8.0 (together with kotlin-wrappers), I get the following errors:
Module not found: Error: Can't resolve '@mui/system' in '/Users/luc/kotlin/macrofocus/build/js/node_modules/@mui/x-date-pickers/MonthPicker'
Module not found: Error: Can't resolve '@mui/system/Box' in '/Users/luc/kotlin/macrofocus/build/js/packages/macrofocus-eflux-app/kotlin'
Any idea what could be the cause and a possible fix?!?
t
Possible fix - use strict MUI NPM versions
a
Hi @Luc Girardin, here is an updated (Kotlin 1.8.0) sample with
kotlin-wrappers pre.477
All works good. Please check
l
Sorry for reacting earlier. Thanks @turansky for your magician trick: adding
implementation(npm("@mui/system", "5.11.4"))
explicitly did solve it. And now thanks to @aerialist and
pre.477
no more magic is required…