Skip to content

Instantly share code, notes, and snippets.

@WilliamD47
Created September 5, 2020 21:17
Show Gist options
  • Save WilliamD47/0015eaf17aa26ada03feda57a5a33657 to your computer and use it in GitHub Desktop.
Save WilliamD47/0015eaf17aa26ada03feda57a5a33657 to your computer and use it in GitHub Desktop.
help2
william@Williams-MBP bot47 % node .
internal/modules/cjs/loader.js:968
throw err;
^
Error: Cannot find module 'Users/william/Documents/yes/bot47/config.json'
Require stack:
- /Users/william/Documents/yes/bot47/commands/ticket/ticket.js
- /Users/william/Documents/yes/bot47/node_modules/require-all/index.js
- /Users/william/Documents/yes/bot47/node_modules/discord.js-commando/src/registry.js
- /Users/william/Documents/yes/bot47/node_modules/discord.js-commando/src/client.js
- /Users/william/Documents/yes/bot47/node_modules/discord.js-commando/src/index.js
- /Users/william/Documents/yes/bot47/index.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/Users/william/Documents/yes/bot47/commands/ticket/ticket.js:4:25)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/william/Documents/yes/bot47/commands/ticket/ticket.js',
'/Users/william/Documents/yes/bot47/node_modules/require-all/index.js',
'/Users/william/Documents/yes/bot47/node_modules/discord.js-commando/src/registry.js',
'/Users/william/Documents/yes/bot47/node_modules/discord.js-commando/src/client.js',
'/Users/william/Documents/yes/bot47/node_modules/discord.js-commando/src/index.js',
'/Users/william/Documents/yes/bot47/index.js'
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment