Linux rootserver Debian10 Probleme mit dem Discord Bot CoreBot?

Lezurex  19.06.2022, 18:51

Kannst du noch ein wenig mehr vom Log zeigen?

Leon20042409 
Fragesteller
 19.06.2022, 20:55

ist alles was drinnen stand im log

3 Antworten

0|corebot | NODE_MODULE_VERSION 83. This version of Node.js requires
0|corebot | NODE_MODULE_VERSION 108. Please try re-compiling or re-installing
0|corebot | the module (for instance, using ` npm rebuild` or ` npm install`).

Da steht es doch schon. Wenn du Node.js noch einmal neu installieren willst oder Node.js noch nicht installiert hast, ist hier eine Anleitung für dich:

https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-debian-10

PS: Du solltest auf die neueste Debian Version Upgraden. Debian 11


Lezurex  19.06.2022, 18:50

Die neuste Debian Version ist 11, nicht 12.

1
Leon20042409 
Fragesteller
 19.06.2022, 19:08

Neu Installation habe ich schon ausprobiert, debian 10 habe ich da komischer weise paar web panels die ich brauche nur darauf funktionieren und es für debian 10 auch am meisten installations anleitungen gibt soweit ich das gesehen habe ;D

0

also ich habe mal bisschen rumprobiert habe jetzt diese fehler meldung

0|corebot | >     [INFO] No modules are missing... Bot is starting up

0|corebot | >     [INFO] No modules are missing... Bot is starting up

0|corebot | >     [INFO] No modules are missing... Bot is starting up

0|corebot | >     [INFO] No modules are missing... Bot is starting up

0|corebot | >     [INFO] No modules are missing... Bot is starting up

0|corebot | >     [INFO] No modules are missing... Bot is starting up

0|corebot | >     [INFO] No modules are missing... Bot is starting up

0|corebot | [19.06.2022 22:05.46.940] [LOG]  [INFO] Better-SQLite3 ready.

0|corebot | [19.06.2022 22:05.46.943] [LOG]  [INFO] Setup database. Type: sqlite

0|corebot | >     [INFO] No modules are missing... Bot is starting up

0|corebot | [19.06.2022 22:11.02.205] [LOG]  [INFO] Better-SQLite3 ready.

0|corebot | [19.06.2022 22:11.02.206] [LOG]  [INFO] Setup database. Type: sqlite

0|corebot | >     [INFO] No modules are missing... Bot is starting up

0|corebot | [19.06.2022 22:26.47.972] [LOG]  [INFO] Better-SQLite3 ready.

0|corebot | [19.06.2022 22:26.47.973] [LOG]  [INFO] Setup database. Type: sqlite

/root/.pm2/logs/corebot-error.log last 15 lines:

0|corebot | }

0|corebot | [19.06.2022 22:11.02.211] [ERROR] TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client.

0|corebot |   at Client._validateOptions (/home/Bots/CB/node_modules/discord.js/src/client/Client.js:548:13)

0|corebot |   at new Client (/home/Bots/CB/node_modules/discord.js/src/client/Client.js:76:10)

0|corebot |   at /home/Bots/CB/index.js:134:15

0|corebot |   at processTicksAndRejections (node:internal/process/task_queues:96:5) {

0|corebot |  [Symbol(code)]: 'CLIENT_MISSING_INTENTS'

0|corebot | }

0|corebot | [19.06.2022 22:26.47.978] [ERROR] TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client.

0|corebot |   at Client._validateOptions (/home/Bots/CB/node_modules/discord.js/src/client/Client.js:548:13)

0|corebot |   at new Client (/home/Bots/CB/node_modules/discord.js/src/client/Client.js:76:10)

0|corebot |   at /home/Bots/CB/index.js:134:15

0|corebot |   at processTicksAndRejections (node:internal/process/task_queues:96:5) {

0|corebot |  [Symbol(code)]: 'CLIENT_MISSING_INTENTS'

0|corebot | }

Habe mal nach den fehlenden rechten geschaut der bot hatt aber admin rechte also alle rechte dennoch zeigt der mir den fehler so an!?

Hier der Ganze Log ab dem start des bots.

[TAILING] Tailing last 5000 lines for [corebot] process (change the value with --lines option)

/root/.pm2/logs/corebot-out.log last 5000 lines:

0|corebot | >     [INFO] No modules are missing... Bot is starting up

0|corebot | >     [INFO] No modules are missing... Bot is starting up

/root/.pm2/logs/corebot-error.log last 5000 lines:

0|corebot | [19.06.2022 18:30.09.214] [ERROR] Error: The module '/home/Bots/CB/node_modules/better-sqlite3/build/Release/better_sqlite3.node'

0|corebot | was compiled against a different Node.js version using

0|corebot | NODE_MODULE_VERSION 83. This version of Node.js requires

0|corebot | NODE_MODULE_VERSION 108. Please try re-compiling or re-installing

0|corebot | the module (for instance, using `npm rebuild` or `npm install`).

0|corebot |   at Module._extensions..node (node:internal/modules/cjs/loader:1196:18)

0|corebot |   at Module.load (node:internal/modules/cjs/loader:988:32)

0|corebot |   at Module._load (node:internal/modules/cjs/loader:834:12)

0|corebot |   at Module.require (node:internal/modules/cjs/loader:1012:19)

0|corebot |   at Hook._require.Module.require (/root/.nvm/versions/node/v18.4.0/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:80:39)

0|corebot |   at require (node:internal/modules/cjs/helpers:102:18)

0|corebot |   at bindings (/home/Bots/CB/node_modules/bindings/bindings.js:112:48)

0|corebot |   at Object.<anonymous> (/home/Bots/CB/node_modules/better-sqlite3/lib/database.js:9:24)

0|corebot |   at Module._compile (node:internal/modules/cjs/loader:1112:14)

0|corebot |   at Module._extensions..js (node:internal/modules/cjs/loader:1166:10) {

0|corebot |  code: 'ERR_DLOPEN_FAILED'

0|corebot | }

0|corebot | [19.06.2022 18:30.40.514] [ERROR] Error: The module '/home/Bots/CB/node_modules/better-sqlite3/build/Release/better_sqlite3.node'

0|corebot | was compiled against a different Node.js version using

0|corebot | NODE_MODULE_VERSION 83. This version of Node.js requires

0|corebot | NODE_MODULE_VERSION 108. Please try re-compiling or re-installing

0|corebot | the module (for instance, using `npm rebuild` or `npm install`).

0|corebot |   at Module._extensions..node (node:internal/modules/cjs/loader:1196:18)

0|corebot |   at Module.load (node:internal/modules/cjs/loader:988:32)

0|corebot |   at Module._load (node:internal/modules/cjs/loader:834:12)

0|corebot |   at Module.require (node:internal/modules/cjs/loader:1012:19)

0|corebot |   at Hook._require.Module.require (/root/.nvm/versions/node/v18.4.0/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:80:39)

0|corebot |   at require (node:internal/modules/cjs/helpers:102:18)

0|corebot |   at bindings (/home/Bots/CB/node_modules/bindings/bindings.js:112:48)

0|corebot |   at Object.<anonymous> (/home/Bots/CB/node_modules/better-sqlite3/lib/database.js:9:24)

0|corebot |   at Module._compile (node:internal/modules/cjs/loader:1112:14)

0|corebot |   at Module._extensions..js (node:internal/modules/cjs/loader:1166:10) {

0|corebot |  code: 'ERR_DLOPEN_FAILED'

0|corebot | }