I keep getting this error : Uncaught TypeError: e....
# javascript
p
I keep getting this error : Uncaught TypeError: e.defineModule is not a function
x
I was wondering when do you get this message? I had to deal with that as well and I found they are saying it’s something related
node_modules/.cache
https://github.com/JetBrains/create-react-kotlin-app#user-content-npm-start-or-yarn-start
g
Delete node_module/.cache and clear the app's browser cache
a
That could be happening if you use DCE'd kotlin.js with non-DCE'd kolin modules somehow. At least that's the cause in some cases.