loading...

re: How to set up a Discord music bot VIEW POST

FULL DISCUSSION
 

hi i have a error

  • c:\Users\imady\OneDrive\Desktop\bot-final.edition\index.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:793:17) at Function.Module._load (internal/modules/cjs/loader.js:686:27) at Module.require (internal/modules/cjs/loader.js:848:19) at require (internal/modules/cjs/helpers.js:74:18) at Object. (c:\Users\imady\OneDrive\Desktop\bot-final.edition\index.js:1:28) at Module._compile (internal/modules/cjs/loader.js:952:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10) at Module.load (internal/modules/cjs/loader.js:811:32) at Function.Module._load (internal/modules/cjs/loader.js:723:14) at Function.Module.runMain (internal/modules/cjs/loader.js:1043:10)

end i have a error whit NPM code
extract: WARN tar ENOENT: no such file or directory, open 'C:\Users\imady\OneDrive\Desktop\bot-final.edition\node_modules.staging\@babel\types-

 

Did you install all the dependencies and other requirements?

 

ok i managed to settle my problem with friend but a new problem is before us
debugger listening on ws://127.0.0.1:4777/7ce98a6d-7418-49f0-acae-6553fff29399
For help, see: nodejs.org/en/docs/inspector

Debugger attached.
WaitingError: Cannot find module '../../config.json'
Require stack:

  • c:\Users\imady\OneDrive\Desktop\bot-final.edition\commands\gifs\animegif.js
  • c:\Users\imady\OneDrive\Desktop\bot-final.edition\node_modules\require-all\index.js
  • c:\Users\imady\OneDrive\Desktop\bot-final.edition\node_modules\discord.js-commando\src\registry.js
  • c:\Users\imady\OneDrive\Desktop\bot-final.edition\node_modules\discord.js-commando\src\client.js
  • c:\Users\imady\OneDrive\Desktop\bot-final.edition\node_modules\discord.js-commando\src\index.js
  • c:\Users\imady\OneDrive\Desktop\bot-final.edition\index.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15) at Function.Module._load (internal/modules/cjs/loader.js:862:27) at Module.require (internal/modules/cjs/loader.js:1040:19) at require (internal/modules/cjs/helpers.js:72:18) at Object. (c:\Users\imady\OneDrive\Desktop\bot-final.edition\commands\gifs\animegif.js:2:22) at Module._compile (internal/modules/cjs/loader.js:1151:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10) at Module.load (internal/modules/cjs/loader.js:1000:32) at Function.Module._load (internal/modules/cjs/loader.js:899:14) at Module.require (internal/modules/cjs/loader.js:1040:19) for the debugger to disconnect...

debugger listening on ws://127.0.0.1:33350/4b02f0da-9828-4ed9-a1cd-5ba111b9b611
For help, see: nodejs.org/en/docs/inspector
Debugger attached.
Waiting foError: Cannot find module '../../config.json'
Require stack:

  • c:\Users\imady\OneDrive\Desktop\bot-final.edition\commands\gifs\animegif.js
  • c:\Users\imady\OneDrive\Desktop\bot-final.edition\node_modules\require-all\index.js
  • c:\Users\imady\OneDrive\Desktop\bot-final.edition\node_modules\discord.js-commando\src\registry.js
  • c:\Users\imady\OneDrive\Desktop\bot-final.edition\node_modules\discord.js-commando\src\client.js
  • c:\Users\imady\OneDrive\Desktop\bot-final.edition\node_modules\discord.js-commando\src\index.js
  • c:\Users\imady\OneDrive\Desktop\bot-final.edition\index.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15) at Function.Module._load (internal/modules/cjs/loader.js:862:27) at Module.require (internal/modules/cjs/loader.js:1040:19) at require (internal/modules/cjs/helpers.js:72:18) at Object. (c:\Users\imady\OneDrive\Desktop\bot-final.edition\commands\gifs\animegif.js:2:22) at Module._compile (internal/modules/cjs/loader.js:1151:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10) at Module.load (internal/modules/cjs/loader.js:1000:32) at Function.Module._load (internal/modules/cjs/loader.js:899:14) at Module.require (internal/modules/cjs/loader.js:1040:19) r the debugger to disconnect...

is its this is the new error code

code of conduct - report abuse