Bindings problem

my bot wont online. i think it the binding problem it show:
/rbd/pnpm-volume/bc2afc04-113f-4284-87c4-24fbb4992332/node_modules/.registry.npmjs.org/bindings/1.5.0/node_modules/bindings/bindings.js:135

12:06 PM

throw err;

12:06 PM

^

12:06 PM

12:06 PM

Error: Could not locate the bindings file. Tried:

12:06 PM

β†’ /rbd/pnpm-volume/bc2afc04-113f-4284-87c4-24fbb4992332/node_modules/.registry.npmjs.org/better-sqlite3/7.1.1/node_modules/better-sqlite3/build/better_sqlite3.node

12:06 PM

β†’ /rbd/pnpm-volume/bc2afc04-113f-4284-87c4-24fbb4992332/node_modules/.registry.npmjs.org/better-sqlite3/7.1.1/node_modules/better-sqlite3/build/Debug/better_sqlite3.node

12:06 PM

β†’ /rbd/pnpm-volume/bc2afc04-113f-4284-87c4-24fbb4992332/node_modules/.registry.npmjs.org/better-sqlite3/7.1.1/node_modules/better-sqlite3/build/Release/better_sqlite3.node

12:06 PM

β†’ /rbd/pnpm-volume/bc2afc04-113f-4284-87c4-24fbb4992332/node_modules/.registry.npmjs.org/better-sqlite3/7.1.1/node_modules/better-sqlite3/out/Debug/better_sqlite3.node

12:06 PM

β†’ /rbd/pnpm-volume/bc2afc04-113f-4284-87c4-24fbb4992332/node_modules/.registry.npmjs.org/better-sqlite3/7.1.1/node_modules/better-sqlite3/Debug/better_sqlite3.node

12:06 PM

β†’ /rbd/pnpm-volume/bc2afc04-113f-4284-87c4-24fbb4992332/node_modules/.registry.npmjs.org/better-sqlite3/7.1.1/node_modules/better-sqlite3/out/Release/better_sqlite3.node

12:06 PM

β†’ /rbd/pnpm-volume/bc2afc04-113f-4284-87c4-24fbb4992332/node_modules/.registry.npmjs.org/better-sqlite3/7.1.1/node_modules/better-sqlite3/Release/better_sqlite3.node

12:06 PM

β†’ /rbd/pnpm-volume/bc2afc04-113f-4284-87c4-24fbb4992332/node_modules/.registry.npmjs.org/better-sqlite3/7.1.1/node_modules/better-sqlite3/build/default/better_sqlite3.node

12:06 PM

β†’ /rbd/pnpm-volume/bc2afc04-113f-4284-87c4-24fbb4992332/node_modules/.registry.npmjs.org/better-sqlite3/7.1.1/node_modules/better-sqlite3/compiled/12.0.0/linux/x64/better_sqlite3.node

12:06 PM

β†’ /rbd/pnpm-volume/bc2afc04-113f-4284-87c4-24fbb4992332/node_modules/.registry.npmjs.org/better-sqlite3/7.1.1/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node

12:06 PM

β†’ /rbd/pnpm-volume/bc2afc04-113f-4284-87c4-24fbb4992332/node_modules/.registry.npmjs.org/better-sqlite3/7.1.1/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node

12:06 PM

β†’ /rbd/pnpm-volume/bc2afc04-113f-4284-87c4-24fbb4992332/node_modules/.registry.npmjs.org/better-sqlite3/7.1.1/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node

12:06 PM

β†’ /rbd/pnpm-volume/bc2afc04-113f-4284-87c4-24fbb4992332/node_modules/.registry.npmjs.org/better-sqlite3/7.1.1/node_modules/better-sqlite3/lib/binding/node-v72-linux-x64/better_sqlite3.node

12:06 PM

at bindings (/rbd/pnpm-volume/bc2afc04-113f-4284-87c4-24fbb4992332/node_modules/.registry.npmjs.org/bindings/1.5.0/node_modules/bindings/bindings.js:126:9)

12:06 PM

at Object. (/rbd/pnpm-volume/bc2afc04-113f-4284-87c4-24fbb4992332/node_modules/.registry.npmjs.org/better-sqlite3/7.1.1/node_modules/better-sqlite3/lib/database.js:9:24)

12:06 PM

at Module._compile (internal/modules/cjs/loader.js:759:30)

12:06 PM

at Object.Module._extensions…js (internal/modules/cjs/loader.js:770:10)

12:06 PM

at Module.load (internal/modules/cjs/loader.js:628:32)

12:06 PM

at Function.Module._load (internal/modules/cjs/loader.js:555:12)

12:06 PM

at Module.require (internal/modules/cjs/loader.js:666:19)

12:06 PM

at require (internal/modules/cjs/helpers.js:16:16)

12:06 PM

at Object. (/rbd/pnpm-volume/bc2afc04-113f-4284-87c4-24fbb4992332/node_modules/.registry.npmjs.org/better-sqlite3/7.1.1/node_modules/better-sqlite3/lib/index.js:2:18)

12:06 PM

at Module._compile (internal/modules/cjs/loader.js:759:30)
here my project: https://faithful-responsible-process.glitch.me

Hi @DrKnown!

Can you run enable-pnpm in the terminal and see if it works?

2 Likes

Also try running npm install better-sqlite3 and npm rebuild better-sqlite3.

3 Likes

i did it once but it still give me error

YES IT WORKED NOW! thank u

3 Likes