/rbd/pnpm-volume/00314e14-266f-417f-829c-3e126a185b2c/node_modules/.registry.npmjs.org/bindings/1.5.0/node_modules/bindings/bindings.js:135
throw err;
^
Error: Could not locate the bindings file. Tried:
→ /rbd/pnpm-volume/00314e14-266f-417f-829c-3e126a185b2c/node_modules/.registry.npmjs.org/better-sqlite3/6.0.1/node_modules/better-sqlite3/build/better_sqlite3.node
I tried everything to fix that error, but not worked.
My project name: kyoya-api @cori
I was able to get it running, but I had to install it from the source, and install an apt package. So for now, use v11. It you are making a discord bot, you could remake the v11 package from discord.js for those who don’t want to make the big switch.
I’m pretty sure they do! I just changed my node js version from 8.0.0 to 12.0.0, typed refresh in the terminal and it works! The packages installed and they all seem to work correctly!
Here’s all my sql-related packages:
“better-sqlite3”: “^6.0.1”,
“better-sqlite3-helper”: “^2.2.1”,
“bindings”: “^1.5.0”,
“quick.db”: “^7.0.0-b22”,
“sequelize”: “^5.21.5”,
“sqlite3”: “^4.1.1”,
You’ll see a lot of sql install logs just wait until they’re done and your bot should be online.
Note: I know it might be tempting since the logs go on for a while but don’t refresh ok? (Generally don’t interrupt it)