Error: Could not locate the bindings file. Tried: ERROR!

Hi,
I can’t open my Discord Bot project. I saw this error:

/rbd/pnpm-volume/b47b9a49-cb7a-4998-bb53-8e666786da8c/node_modules/.registry.npmjs.org/bindings/1.5.0/node_modules/bindings/bindings.js:135

6:25 PM

throw err;

6:25 PM

^

6:25 PM

6:25 PM

Error: Could not locate the bindings file. Tried:

6:25 PM

→ /rbd/pnpm-volume/b47b9a49-cb7a-4998-bb53-8e666786da8c/node_modules/.registry.npmjs.org/better-sqlite3/7.1.2/node_modules/better-sqlite3/build/better_sqlite3.node

6:25 PM

→ /rbd/pnpm-volume/b47b9a49-cb7a-4998-bb53-8e666786da8c/node_modules/.registry.npmjs.org/better-sqlite3/7.1.2/node_modules/better-sqlite3/build/Debug/better_sqlite3.node

6:25 PM

→ /rbd/pnpm-volume/b47b9a49-cb7a-4998-bb53-8e666786da8c/node_modules/.registry.npmjs.org/better-sqlite3/7.1.2/node_modules/better-sqlite3/build/Release/better_sqlite3.node

6:25 PM

→ /rbd/pnpm-volume/b47b9a49-cb7a-4998-bb53-8e666786da8c/node_modules/.registry.npmjs.org/better-sqlite3/7.1.2/node_modules/better-sqlite3/out/Debug/better_sqlite3.node

6:25 PM

→ /rbd/pnpm-volume/b47b9a49-cb7a-4998-bb53-8e666786da8c/node_modules/.registry.npmjs.org/better-sqlite3/7.1.2/node_modules/better-sqlite3/Debug/better_sqlite3.node

6:25 PM

→ /rbd/pnpm-volume/b47b9a49-cb7a-4998-bb53-8e666786da8c/node_modules/.registry.npmjs.org/better-sqlite3/7.1.2/node_modules/better-sqlite3/out/Release/better_sqlite3.node

6:25 PM

→ /rbd/pnpm-volume/b47b9a49-cb7a-4998-bb53-8e666786da8c/node_modules/.registry.npmjs.org/better-sqlite3/7.1.2/node_modules/better-sqlite3/Release/better_sqlite3.node

6:25 PM

→ /rbd/pnpm-volume/b47b9a49-cb7a-4998-bb53-8e666786da8c/node_modules/.registry.npmjs.org/better-sqlite3/7.1.2/node_modules/better-sqlite3/build/default/better_sqlite3.node

6:25 PM

→ /rbd/pnpm-volume/b47b9a49-cb7a-4998-bb53-8e666786da8c/node_modules/.registry.npmjs.org/better-sqlite3/7.1.2/node_modules/better-sqlite3/compiled/8.17.0/linux/x64/better_sqlite3.node

6:25 PM

→ /rbd/pnpm-volume/b47b9a49-cb7a-4998-bb53-8e666786da8c/node_modules/.registry.npmjs.org/better-sqlite3/7.1.2/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node

6:25 PM

→ /rbd/pnpm-volume/b47b9a49-cb7a-4998-bb53-8e666786da8c/node_modules/.registry.npmjs.org/better-sqlite3/7.1.2/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node

6:25 PM

→ /rbd/pnpm-volume/b47b9a49-cb7a-4998-bb53-8e666786da8c/node_modules/.registry.npmjs.org/better-sqlite3/7.1.2/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node

6:25 PM

→ /rbd/pnpm-volume/b47b9a49-cb7a-4998-bb53-8e666786da8c/node_modules/.registry.npmjs.org/better-sqlite3/7.1.2/node_modules/better-sqlite3/lib/binding/node-v57-linux-x64/better_sqlite3.node

6:25 PM

at bindings (/rbd/pnpm-volume/b47b9a49-cb7a-4998-bb53-8e666786da8c/node_modules/.registry.npmjs.org/bindings/1.5.0/node_modules/bindings/bindings.js:126:9)

6:25 PM

at Object.<anonymous> (/rbd/pnpm-volume/b47b9a49-cb7a-4998-bb53-8e666786da8c/node_modules/.registry.npmjs.org/better-sqlite3/7.1.2/node_modules/better-sqlite3/lib/database.js:9:24)

6:25 PM

at Module._compile (module.js:653:30)

6:25 PM

at Object.Module._extensions..js (module.js:664:10)

6:25 PM

at Module.load (module.js:566:32)

6:25 PM

at tryModuleLoad (module.js:506:12)

6:25 PM

at Function.Module._load (module.js:498:3)

6:25 PM

at Module.require (module.js:597:17)

6:25 PM

at require (internal/module.js:11:18)

6:25 PM

at Object.<anonymous> (/rbd/pnpm-volume/b47b9a49-cb7a-4998-bb53-8e666786da8c/node_modules/.registry.npmjs.org/better-sqlite3/7.1.2/node_modules/better-sqlite3/lib/index.js:2:18)

How can i fix it? Please help me?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.