Closed jahsenn closed 10 months ago
You need to install the module sqlite3, like the error message already says. And if you have trouble using the bot, you need to open a discussion and not an issue.
I already installed sqlite3, and it still show this
I'm hosting on replit
@jateute reply pls
I'd strongly advise against using replit, because if you don't know what you're doing it's fairly easy to leak your discord bot token and there are tools that automatically scan for tokens, which means that your bot account might be used for malicious purposes. And I think replit doesn't support using databases other than their own system for databases.
[INFO] SCNX-CustomBot v2 - Log-Level: DEBUG [INFO] Missing moduleConfig-file. Automatically disabling all modules and overwriting modules.json later /home/runner/CustomDCBot/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:55 throw new Error(
Please install ${moduleName} package manually
); ^Error: Please install sqlite3 package manually at ConnectionManager._loadDialectModule (/home/runner/CustomDCBot/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:55:15) at new ConnectionManager (/home/runner/CustomDCBot/node_modules/sequelize/lib/dialects/sqlite/connection-manager.js:18:21) at new SqliteDialect (/home/runner/CustomDCBot/node_modules/sequelize/lib/dialects/sqlite/index.js:13:30) at new Sequelize (/home/runner/CustomDCBot/node_modules/sequelize/lib/sequelize.js:194:20) at Object. (/home/runner/CustomDCBot/main.js:98:12)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
Node.js v20.10.0