Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > discordbot-djs@1.0.0 start C:\Users\webbc\Desktop\bots\KingsmanBot\discordbot-djs
- > node ./src/bot.js
- C:\Users\webbc\Desktop\bots\KingsmanBot\discordbot-djs\src\bot.js:2
- const client = new Discord.Client({
- ^
- ReferenceError: Discord is not defined
- at Object.<anonymous> (C:\Users\webbc\Desktop\bots\KingsmanBot\discordbot-djs\src\bot.js:2:16)
- at Module._compile (internal/modules/cjs/loader.js:1121:30)
- at Object.Module._extensions..js (internal/modules/cjs/loader.js:1160:10)
- at Module.load (internal/modules/cjs/loader.js:976:32)
- at Function.Module._load (internal/modules/cjs/loader.js:884:14)
- at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:67:12)
- at internal/main/run_main_module.js:17:47
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! discordbot-djs@1.0.0 start: `node ./src/bot.js`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the discordbot-djs@1.0.0 start script.
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- npm ERR! A complete log of this run can be found in:
- npm ERR! C:\Users\webbc\AppData\Roaming\npm-cache\_logs\2019-12-16T07_51_06_120Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement