New DJS

Hey, I just put in all the coding information from the github and followed the documentation.. My index.js and deploy-comands.js files are both picking up errors. How can this be?
2 Replies
d.js toolkit
d.js toolkit16mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
Saint
SaintOP16mo ago
Closing curly brace appears on the same line as the subsequent block.eslintbrace-style - This is my error Ahh lint.. Okay thanks Only problem now the bot doesn't start FeelsBannedMan took the documentation. Put it in. Added my config.json stuff and ran it. Nothing happens No error in terminal not any sort of sign that something went wrong Just a simple Turn on (1-2 seconds later) turn off I use VSC as my IDE Run via "Run without debugging"
Uncaught Error Error: ENOTDIR: not a directory, scandir 'C:\Users\honeu\Desktop\NodeJSBot\commands\ping.js'
at readdirSync (node:fs:1438:3)
at <anonymous> (file:///C:/Users/honeu/Desktop/NodeJSBot/index.js:14:26)
at Module._compile (node:internal/modules/cjs/loader:1275:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)
at Module.load (node:internal/modules/cjs/loader:1133:32)
at Module._load (node:internal/modules/cjs/loader:972:12)
at executeUserEntryPoint (node:internal/modules/run_main:83:12)
at <anonymous> (node:internal/main/run_main_module:23:47)
Uncaught Error Error: ENOTDIR: not a directory, scandir 'C:\Users\honeu\Desktop\NodeJSBot\commands\ping.js'
at readdirSync (node:fs:1438:3)
at <anonymous> (file:///C:/Users/honeu/Desktop/NodeJSBot/index.js:14:26)
at Module._compile (node:internal/modules/cjs/loader:1275:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)
at Module.load (node:internal/modules/cjs/loader:1133:32)
at Module._load (node:internal/modules/cjs/loader:972:12)
at executeUserEntryPoint (node:internal/modules/run_main:83:12)
at <anonymous> (node:internal/main/run_main_module:23:47)
Do get this in my debug console Correct. Overlooked that Ah I see, it's trying to look for a ping.js file which doesn't exist But it FeelsBannedMan yeah Smh, sorry my fault Sorry for wasting your time
Want results from more Discord servers?
Add your server