Error: Cannot find module 'discord.js'

Help pls


Error: Cannot find module ‘discord.js’
Require stack:

  • C:\Users\caz\Desktop\FURİNA BOT\bot.js
    e[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:625:15)e[39m
    e[90m at Function.Module._load (internal/modules/cjs/loader.js:527:27)e[39m
    e[90m at Module.require (internal/modules/cjs/loader.js:683:19)e[39m
    e[90m at require (internal/modules/cjs/helpers.js:16:16)e[39m
    at Object. (C:\Users\caz\Desktop\FURİNA BOT\bot.js:1:17)
    e[90m at Module._compile (internal/modules/cjs/loader.js:776:30)e[39m
    e[90m at Object.Module._extensions…js (internal/modules/cjs/loader.js:787:10)e[39m
    e[90m at Module.load (internal/modules/cjs/loader.js:643:32)e[39m
    e[90m at Function.Module._load (internal/modules/cjs/loader.js:556:12)e[39m
    e[90m at Function.Module.runMain (internal/modules/cjs/loader.js:839:10)e[39m {
    code: e[32m’MODULE_NOT_FOUND’e[39m,
    requireStack: [ e[32m’C:\Users\caz\Desktop\FURİNA BOT\bot.js’e[39m ]

Have you installed the discord package? (Or is that a file you wrote yourself and node can’t find?)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.