Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

Module not found error. #11

Open
cryotheslayer opened this issue Aug 6, 2022 · 0 comments
Open

Module not found error. #11

cryotheslayer opened this issue Aug 6, 2022 · 0 comments

Comments

@cryotheslayer
Copy link

npm run deploy

[email protected] deploy
NODE_ENV=production node .

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

Error: Cannot find module '../../assets/Static/embeds'
Require stack:

  • /home/runner/discord-moderation-bot/commands/Moderation/ban.js
  • /home/runner/discord-moderation-bot/index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (/home/runner/discord-moderation-bot/commands/Moderation/ban.js:2:16)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/home/runner/discord-moderation-bot/commands/Moderation/ban.js',
    '/home/runner/discord-moderation-bot/index.js'
    ]
    }
@cryotheslayer cryotheslayer changed the title Module mot found error. Module not found error. Aug 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant