Im getting an error `Could not locate the bindings...
# javascript
a
Im getting an error
Could not locate the bindings file
when I am installing
sqlite3
as a npm() dependnecy in build.gradle.kts:
Copy code
implementation(npm("sqlite3",  "5.1.7"))
I think it has something to do with native bindings (C ?) . The library is this one Any pointers on how to use it in kotlin /js ?
I think it has something to do with how the library is installed via gradle. if i do
npm i sqlite3
I can use the module normally
a
Oh, it looks sad. Could you please file an issue?
@Ilya Goncharov [JB] ^^
a
on it
there you go KT-80794
i
It may be related with disabled installation scripts. They are disabled by default in Kotlin Gradle plugin for security reasons. So you have to enable install scripts if it is necessary for you
a
how do i do that?
i
a
it worked! thanks a lot
updated the issue. Feel free to close it https://youtrack.jetbrains.com/issue/KT-80794