Комментарии:
ode:internal/modules/cjs/loader:959
throw err;
^
Error: Cannot find module 'C:\Users\Shaurya\Downloads\music-discord-bot-main'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
at Function.Module._load (node:internal/modules/cjs/loader:804:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
Error: cannot find module "C:\Users\Desktop\discord-bot-main"
Code: 'MODULE_NOT_FOUND'
than come this Unexpected token '.'
Ответитьi have "SyntaxError: Unexpected token '.'" please help :(
ОтветитьError: input stream: Error parsing info: Unable to retrieve video metadata
at getWatchPage (C:\Users\sakai\OneDrive\Desktop\discordmusicbot\music-discord-bot-main\music-discord-bot-main\node_modules\ytdl-core\lib\info.js:75:13)
at processTicksAndRejections (node:internal/process/task_queues:93:5)
at async exports.getBasicInfo (C:\Users\sakai\OneDrive\Desktop\discordmusicbot\music-discord-bot-main\music-discord-bot-main\node_modules\ytdl-core\lib\info.js:84:22)
at async Map.getOrSet (C:\Users\sakai\OneDrive\Desktop\discordmusicbot\music-discord-bot-main\music-discord-bot-main\node_modules\ytdl-core\lib\cache.js:24:19)
at async exports.getInfo (C:\Users\sakai\OneDrive\Desktop\discordmusicbot\music-discord-bot-main\music-discord-bot-main\node_modules\ytdl-core\lib\info.js:226:14)
at async Map.getOrSet (C:\Users\sakai\OneDrive\Desktop\discordmusicbot\music-discord-bot-main\music-discord-bot-main\node_modules\ytdl-core\lib\cache.js:24:19)
I always get this err
TypeError: Cannot read property 'searchVideos' of undefined
ОтветитьSyntaxError: Unexpected token '.'
Ответить/storage/emulated/0/Download/music-discord-bot-main/structures/BotClient.js:5
const GOOGLE_API_KEY = require(../config.json);
^
SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:979:16)
at Module._compile (internal/modules/cjs/loader.js:1027:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/storage/emulated/0/Download/music-discord-bot-main/index.js:11:19)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
Error: cannot find module
ОтветитьI can edit the code with my current working bot and get the music commands?
ОтветитьHow to active node .
ОтветитьI found this in README :D
ОтветитьIs can bot be on-line 24/7 or i will need bot hosting?
ОтветитьBest video eve!!!!!!!!!!!!!!!!!
Ответитьcode: 'MODULE_NOT_FOUND'
when i type node .
hiw to fix it
:sos: | I could not obtain any search results.
Ответитьhow to open terminal
Ответить;)
ОтветитьBest as always :) cpp best
Ответить