I was just trying to add it to a small project bui...
# javascript
a
I was just trying to add it to a small project built with create-react-kotlin-app (which I despise while finding useful)
c
This is just a side question because I’m curious. Why do you say you despise create-react-kotlin-app?
a
any time anything goes wrong with it, you have no handles for debugging as all the implementation is locked away. well, you can eject, at which point you see how ludicrously complex the configuration is. in this case, I had to eject to even add another library as a dependency, because either that's not anticipated usage or simply not documented.
so when it's working it's fine and a useful bootstrap. as soon as it goes wrong, it's a source of screaming frustration
c
Ah, totally get that. Thanks!
were you unable to add dependencies through npm/yarn in general or were you trying to add a git repo or local file as a dependency? I’ve not had issues installing from npm/yarn but had a hell of a time getting a git repo to work correctly
a
I could add the dependency to npm fine, and added it to the IntelliJ module, but it needs passing through to the KotlinWebpackPlugin config in the Webpack config too -- I have no idea how to tell the create-react-kotlin-app scripts to do that (there is basically no documentation)
and for whatever reason, errors in the app it produces cause the Chrome tab running it to totally lock up, with no discernible reason why