Ask coding questions

← Back to all posts
How can i fix this problem
DioNamikazeYT (0)

Error: Cannot find module 'discord.js'
Require stack:

  • /home/runner/Project-Multiverse-2-Bot-JS/index.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at /home/runner/Project-Multiverse-2-Bot-JS/index.js:1:17
    at Script.runInContext (vm.js:130:18)
    at Object.<anonymous> (/run_dir/interp.js:209:20)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)Hint: hit control+c anytime to enter REPL.