renesansz / discord-greeter-bot

My greeter bot for Discord
MIT License
49 stars 38 forks source link

node bot.js #254

Closed wasabbeh closed 4 years ago

wasabbeh commented 4 years ago

followed the tutorial. got this error. C:\Users\abiga\Downloads\greeter-bot>node bot.js internal/modules/cjs/loader.js:1193 throw err; ^

SyntaxError: C:\Users\abiga\Downloads\greeter-bot\auth.json: Unexpected token D in JSON at position 0 at parse () at Object.Module._extensions..json (internal/modules/cjs/loader.js:1190:22) at Module.load (internal/modules/cjs/loader.js:1000:32) at Function.Module._load (internal/modules/cjs/loader.js:899:14) at Module.require (internal/modules/cjs/loader.js:1042:19) at require (internal/modules/cjs/helpers.js:77:18) at Object. (C:\Users\abiga\Downloads\greeter-bot\bot.js:3:12) at Module._compile (internal/modules/cjs/loader.js:1156:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10) at Module.load (internal/modules/cjs/loader.js:1000:32)

C:\Users\abiga\Downloads\greeter-bot>

Garg-Shashwat commented 4 years ago

Same error here too

IanDaBest commented 4 years ago

this is what happened to me

internal/modules/cjs/loader.js:1032 throw err; ^

Error: Cannot find module 'C:\Users\IanDaBest\Discord\DaBestBot\codes\bot.js'  at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15)  at Function.Module._load (internal/modules/cjs/loader.js:898:27)  at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)  at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.