Discord botu çalıştırılmıyor

Katılım
7 Ocak 2019
Mesajlar
1.938
Çözümler
15
Daha fazla  
Cinsiyet
Erkek
C:\Windows\system32>echo "starting"
"Starting"

C:\Windows\system32>node index.js
internal/modules/cjs/loader.js:965
Throw err;
^

Error: Cannot find module 'C:\Windows\system32\index.js'
←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:962
:15)←[39m
←[90m at Function.Module._load (internal/modules/cjs/loader.js:838:27)←[39m
←[90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_ma
in.js:71:12)←[39m
←[90m at internal/main/run_main_module.js:17:47←[39m {
code: ←[32m'MODULE_NOT_FOUND'←[39m,
requireStack: []
}

C:\Windows\system32>PAUSE
Devam etmek için bir tuşa basın.
 
Maalesef bilgim yok o zaman.
Bu seferde başka sorun çıktı.

[CODE title="hata"]C:\Users\MRMax\Desktop\Müzik botum>echo "Starting"
"Starting"

C:\Users\MRMax\Desktop\Müzik botum>node index.js
(node:7452) UnhandledPromiseRejectionWarning: Error [TOKEN_INVALID]: An invalid
token was provided.
at Client.login (C:\Users\MRMax\Desktop\Müzik botum\node_modules\discord.js\
src\client\Client.js:206:52)
at Object.<anonymous> (C:\Users\MRMax\Desktop\Müzik botum\index.js:34:8)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Function.Module._load (internal/modules/cjs/loader.js:875:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js
:71:12)
at internal/main/run_main_module.js:17:47
(Use `node --trace-warnings ...` to show where the warning was created)
(node:7452) 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:7452) [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.
Event Yükleniyor: message
Event Yükleniyor: ready
Komut Yükleniyor: help
Komut Yükleniyor: invite
Komut Yükleniyor: leave
Komut Yükleniyor: loop
Komut Yükleniyor: lyrics
Komut Yükleniyor: nowplaying
Komut Yükleniyor: pause
Komut Yükleniyor: play
Komut Yükleniyor: playlist
Komut Yükleniyor: queue
Komut Yükleniyor: remove
Komut Yükleniyor: resume
C:\Users\MRMax\Desktop\Müzik botum\node_modules\youtube-sr\build\Util.js:262
const author = playlistDetails[1]?.playlistSidebarSecondaryInfoRenderer.
videoOwner;
^

SyntaxError: Unexpected token '.'
←[90m at Object.compileFunction (vm.js:344:18)←[39m
←[90m at wrapSafe (internal/modules/cjs/loader.js:1048:15)←[39m
←[90m at Module._compile (internal/modules/cjs/loader.js:1082:27)←[39m
←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:1
0)←[39m
←[90m at Module.load (internal/modules/cjs/loader.js:982:32)←[39m
←[90m at Function.Module._load (internal/modules/cjs/loader.js:875:14)←[39m
←[90m at Module.require (internal/modules/cjs/loader.js:1022:19)←[39m
←[90m at require (internal/modules/cjs/helpers.js:72:18)←[39m
at Object.<anonymous> (C:\Users\MRMax\Desktop\Müzik botum\node_modules\←[4my
outube-sr←[24m\build\main.js:7:32)
←[90m at Module._compile (internal/modules/cjs/loader.js:1118:30)←[39m

C:\Users\MRMax\Desktop\Müzik botum>PAUSE
Devam etmek için bir tuşa basın . . .[/CODE]
 
Uyarı! Bu konu 5 yıl önce açıldı.
Muhtemelen daha fazla tartışma gerekli değildir ki bu durumda yeni bir konu başlatmayı öneririz. Eğer yine de cevabınızın gerekli olduğunu düşünüyorsanız buna rağmen cevap verebilirsiniz.

Technopat Haberler

Yeni konular

Geri
Yukarı