Open mrmoonribs opened 3 years ago
Error: Could not locate the bindings file. Tried: → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\build\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\build\Debug\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\build\Release\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\out\Debug\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\Debug\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\out\Release\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\Release\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\build\default\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\compiled\15.0.1\win32\x64\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\addon-build\release\install-root\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\addon-build\debug\install-root\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\addon-build\default\install-root\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\lib\binding\node-v88-win32-x64\better_sqlite3.node at bindings (C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\bindings\bindings.js:126:9) at Object. (C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\lib\database.js:9:24) at Module._compile (node:internal/modules/cjs/loader:1083:30) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1112:10) at Module.load (node:internal/modules/cjs/loader:948:32) at Function.Module._load (node:internal/modules/cjs/loader:789:14) at Module.require (node:internal/modules/cjs/loader:972:19) at require (node:internal/modules/cjs/helpers:88:18) at Object. (C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\lib\index.js:2:18) at Module._compile (node:internal/modules/cjs/loader:1083:30) { tries: [ 'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\build\better_sqlite3.node', 'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\build\Debug\better_sqlite3.node', 'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\build\Release\better_sqlite3.node', 'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\out\Debug\better_sqlite3.node', 'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\Debug\better_sqlite3.node', 'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\out\Release\better_sqlite3.node', 'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\Release\better_sqlite3.node', 'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\build\default\better_sqlite3.node', 'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\bett 'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\addon-build\release\install-root\better_sqlite3.node', 'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\addon-build\debug\install-root\better_sqlite3.node', 'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\addon-build\default\install-root\better_sqlite3.node', 'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\lib\binding\node-v88-win32-x64\better_sqlite3.node' ] }
Please help! Thanks.
;-;
Hopefully, you made a bindings.gyp in the root of your project. If not, make that file, and copy-paste the details from here
bindings.gyp
Does this issue have been solved?
This is the error that I receive when I run the command "node ." to start my bot.
Error: Could not locate the bindings file. Tried: → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\build\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\build\Debug\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\build\Release\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\out\Debug\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\Debug\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\out\Release\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\Release\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\build\default\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\compiled\15.0.1\win32\x64\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\addon-build\release\install-root\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\addon-build\debug\install-root\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\addon-build\default\install-root\better_sqlite3.node → C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\lib\binding\node-v88-win32-x64\better_sqlite3.node at bindings (C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\bindings\bindings.js:126:9) at Object. (C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\lib\database.js:9:24)
at Module._compile (node:internal/modules/cjs/loader:1083:30)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1112:10)
at Module.load (node:internal/modules/cjs/loader:948:32)
at Function.Module._load (node:internal/modules/cjs/loader:789:14)
at Module.require (node:internal/modules/cjs/loader:972:19)
at require (node:internal/modules/cjs/helpers:88:18)
at Object. (C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\lib\index.js:2:18)
at Module._compile (node:internal/modules/cjs/loader:1083:30) {
tries: [
'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\build\better_sqlite3.node',
'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\build\Debug\better_sqlite3.node',
'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\build\Release\better_sqlite3.node',
'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\out\Debug\better_sqlite3.node',
'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\Debug\better_sqlite3.node',
'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\out\Release\better_sqlite3.node',
'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\Release\better_sqlite3.node',
'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\build\default\better_sqlite3.node',
'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\bett 'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\addon-build\release\install-root\better_sqlite3.node',
'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\addon-build\debug\install-root\better_sqlite3.node',
'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\addon-build\default\install-root\better_sqlite3.node',
'C:\Users\quill\OneDrive\Desktop\Discord\Discord Bots\Discord Bot 2\node_modules\better-sqlite3\lib\binding\node-v88-win32-x64\better_sqlite3.node'
]
}
Please help! Thanks.