[SOLVED] No such file or directory, scandir C:\<path>\commands\0
Anyone know why I'm getting this issue?
12 Replies
- 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 staffdiscord.js list: "[email protected]"
node version: "v20.11.1"
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
I did something wrong?
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
My bad. I'll delete my message in #djs-help-v14.
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
Oh my days. Yeah, I just fixed it.
What's the difference between the two?
in
just uses like index, while the other uses something like values?
index
= 1
value
= 'member':mdn: for...in
The for...in statement iterates over all enumerable string properties of an object (ignoring properties keyed by symbols), including inherited enumerable properties.
:mdn: for...of
The for...of statement executes a loop that operates on a sequence of values sourced from an iterable object. Iterable objects include instances of built-ins such as Array, String, TypedArray, Map, Set, NodeList (and other DOM collections), as well as the arguments object, generators produced by generator functions, and user-defined iterables.
Ah, thank you for helping me.
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View