Hi! I have a kotlin.js react app (which was create...
# javascript
f
Hi! I have a kotlin.js react app (which was created with kotlin’s own
create-react-app
script but it is already “ejected”) and i’m trying to write an IndexedDB wrapper. I need the
kotlinx.coroutines.core
library but somehow I can’t add it to the project as dependency… I added it as dependency to my
package.json
, it seems to be installed (the files are already in the node_modules folder) but autocompletion does not work and I can’t use any functions from it. What am I doing wrong?
Ok, I just figured it out. I had to maually add the library to the project in IntelliJ under Project Settings/Libraries. I just pointed it to the
kotlinx-coroutines-core
directory in
node_modules