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

report BUG #11

Open
019-king opened this issue Jul 27, 2021 · 1 comment
Open

report BUG #11

019-king opened this issue Jul 27, 2021 · 1 comment

Comments

@019-king
Copy link

node:internal/modules/cjs/loader:930
throw err;
^

Error: Cannot find module 'dotenv'
Require stack:

  • C:\Users\abdur\Downloads\Theo-discord-bot-thingy (3)\Economy-Bot\index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:927:15)
    at Function.Module._load (node:internal/modules/cjs/loader:772:27)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object. (C:\Users\abdur\Downloads\Theo-discord-bot-thingy (3)\Economy-Bot\index.js:1:1)
    at Module._compile (node:internal/modules/cjs/loader:1095:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:816:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'C:\Users\abdur\Downloads\Theo-discord-bot-thingy (3)\Economy-Bot\index.js'
    ]
    }
@dionsyran2
Copy link

You must run

npm i

To install all the dependencies needed for this to work (running that command, inside your bot folder should solve the problem)

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