renesansz / discord-greeter-bot

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

Errors when executing node bot.js in cmd and node terminal #259

Closed Whimzaspimza closed 4 years ago

Whimzaspimza commented 4 years ago

Node terminal error: ^^^

Uncaught SyntaxError: Unexpected identifier

CMD error: internal/modules/cjs/loader.js:969 throw err; ^

Error: Cannot find module 'C:\Users\Owner\bot.js'  at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)  at Function.Module._load (internal/modules/cjs/loader.js:842: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: [] }

cometh8888 commented 4 years ago

did you do it with the name of your file

Whimzaspimza commented 4 years ago

the name of the file is bot.js so yes

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.