Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module 'discord.js' #131

Open
Johanndw9 opened this issue Jul 9, 2023 · 1 comment
Open

Error: Cannot find module 'discord.js' #131

Johanndw9 opened this issue Jul 9, 2023 · 1 comment

Comments

@Johanndw9
Copy link

Tried following the steps from the setup video and get this error on repl:

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

  • /home/runner/MusicBot/bot.js
  • /home/runner/MusicBot/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
    at Module._load (node:internal/modules/cjs/loader:841:27)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object. (/home/runner/MusicBot/bot.js:1:49)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    Hint: hit control+c anytime to enter REPL.
@ImSe4n
Copy link

ImSe4n commented Aug 17, 2023

do npm install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants