Hi everyone! I’m getting `Module not found: Error...
# react
g
Hi everyone! I’m getting
Module not found: Error: Can't resolve '@mui/icons-material/Add'
With
Copy code
val kotlinWrappersVersion = "1.0.0-pre.550"
fun kotlinw(target: String): String = "org.jetbrains.kotlin-wrappers:kotlin-$target"

...

implementation(enforcedPlatform(kotlinw("wrappers-bom:$kotlinWrappersVersion")))

implementation(kotlinw("react"))
implementation(kotlinw("react-dom"))
implementation(kotlinw("react-router-dom"))
implementation(kotlinw("mui"))
implementation(kotlinw("mui-icons"))
implementation(kotlinw("emotion"))
Any ideas? 😄
Can even open this:
Noticed on build only typescript types are downloaded, not js file
Didn’t work: • invalidate caches and restart • rebuild didn’t work • delete .gradle cache files • Directly using dependency instead of kotlin wrappers
t
Temp WA - fix icons version
Example - in issue
g
Wow! Great! Thanks @turansky!
t
If patch version fix required - please write details in issue