discord websocketmenager hatası

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Slooht

Somon Balığı Selam Vermeye Geldi
Katılım
5 Ağustos 2020
Mesajlar
15
Elmaslar
2
Puan
1.970
Yaş
20
Minecraft
Hahaxd

Discord:

◈Hahaxd⚡#0220

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = express();

            ^



ReferenceError: express is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = express();

            ^



ReferenceError: express is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = express();

            ^



ReferenceError: express is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = express();

            ^



ReferenceError: express is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = express();

            ^



ReferenceError: express is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = express();

            ^



ReferenceError: express is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = express();

            ^



ReferenceError: express is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = hahaxd();

            ^



ReferenceError: hahaxd is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = hahaxd();

            ^



ReferenceError: hahaxd is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = hahaxd();

            ^



ReferenceError: hahaxd is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = hahaxd();

            ^



ReferenceError: hahaxd is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = hahaxd();

            ^



ReferenceError: hahaxd is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = hahaxd();

            ^



ReferenceError: hahaxd is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = hahaxd();

            ^



ReferenceError: hahaxd is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = hahaxd();

            ^



ReferenceError: hahaxd is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = hahaxd();

            ^



ReferenceError: hahaxd is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = hahaxd();

            ^



ReferenceError: hahaxd is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = hahaxd();

            ^



ReferenceError: hahaxd is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = hahaxd();

            ^



ReferenceError: hahaxd is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

C:\Users\sahin\Desktop\night team\bot.js:15

const app = hahaxd();

            ^



ReferenceError: hahaxd is not defined

    at Object.<anonymous> (C:\Users\sahin\Desktop\night team\bot.js:15:13)

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

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

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

    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js

:71:12)

    at internal/main/run_main_module.js:17:47

0 komut yüklenecek.

[2020-08-05 13:50:07] BOT: Aktif, Komutlar yüklendi!

[2020-08-05 13:50:07] BOT: yeni bot ismi ile giriş yapıldı!

[2020-08-05 13:50:07] BOT: Oyun ismi ayarlandı!

(node:5844) UnhandledPromiseRejectionWarning: TypeError: client.guilds.reduce is

not a function

    at module.exports (C:\Users\sahin\Desktop\night team\events\ready.js:45:21)

    at Client.<anonymous> (C:\Users\sahin\Desktop\night team\util\eventLoader.js

:3:45)

    at Client.emit (events.js:315:20)

    at WebSocketManager.triggerClientReady (C:\Users\sahin\Desktop\night team\no

de_modules\discord.js\src\client\websocket\WebSocketManager.js:433:17)

    at WebSocketManager.checkShardsReady (C:\Users\sahin\Desktop\night team\node

_modules\discord.js\src\client\websocket\WebSocketManager.js:417:10)

    at WebSocketShard.<anonymous> (C:\Users\sahin\Desktop\night team\node_module

s\discord.js\src\client\websocket\WebSocketManager.js:199:14)

    at WebSocketShard.emit (events.js:315:20)

    at WebSocketShard.checkReady (C:\Users\sahin\Desktop\night team\node_modules

\discord.js\src\client\websocket\WebSocketShard.js:467:12)

    at WebSocketShard.onPacket (C:\Users\sahin\Desktop\night team\node_modules\d

iscord.js\src\client\websocket\WebSocketShard.js:439:16)

    at WebSocketShard.onMessage (C:\Users\sahin\Desktop\night team\node_modules\

discord.js\src\client\websocket\WebSocketShard.js:293:10)

(node:5844) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This

error originated either by throwing inside of an async function without a catch

block, or by rejecting a promise which was not handled with .catch(). To termina

te the node process on unhandled promise rejection, use the CLI flag `--unhandle

d-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejectio

ns_mode). (rejection id: 1)

(node:5844) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre

cated. In the future, promise rejections that are not handled will terminate the

Node.js process with a non-zero exit code.
 
Moderatör tarafından düzenlendi:
"npm i express" komudunu denediniz mi?
 
bot.js'de const app = express(); olan kısımda hata var nedense botunuzu glitch projesine taşıyıp bana davet linkini atarmısınız?

Discord: Gökhan#4646
 
JavaScript:
const express = require("express");
Gönderi otomatik olarak birleştirildi:

TypeScript kullanmıyorsunuz sanırım ama ts için:
JavaScript:
import express from "express";
 
bot.js'de const app = express(); olan kısımda hata var nedense botunuzu glitch projesine taşıyıp bana davet linkini atarmısınız?

Discord: Gökhan#4646
ark atım cevap vermedin
Gönderi otomatik olarak birleştirildi:

JavaScript:
const express = require("express");
Gönderi otomatik olarak birleştirildi:

TypeScript kullanmıyorsunuz sanırım ama ts için:
JavaScript:
import express from "express";
knk detaylı anlatırsan sevinirim
 
Son düzenleme:
JavaScript:
const express = require("express");
Gönderi otomatik olarak birleştirildi:

TypeScript kullanmıyorsunuz sanırım ama ts için:
JavaScript:
import express from "express";
Bunu uygularsanız olacaktır
 
1596630832177.png
h


Hata hala geçmedi :(
 
Discorddan eklermisin Pure#7030
 
const app = express();'in bir üst satırına const express = require("express"); yazar mısın
 
Bana discorddan ulaştı hallediyoruz
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst