Error when starting bot
node:internal/modules/cjs/loader:1447
throw err;
^
SyntaxError: C:\Users\conor\Desktop\auto delivery\config.json: Unexpected end of JSON input
at parse (<anonymous>)
at Module._extensions..json (node:internal/modules/cjs/loader:1444:39)
at Module.load (node:internal/modules/cjs/loader:1205:32)
at Module._load (node:internal/modules/cjs/loader:1021:12)
at Module.require (node:internal/modules/cjs/loader:1230:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (C:\Users\conor\Desktop\auto delivery\index.js:3:19)
at Module._compile (node:internal/modules/cjs/loader:1368:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1426:10)
at Module.load (node:internal/modules/cjs/loader:1205:32)
I already checked, i have the latest version of node and djs10 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!and it is literally the starter code on the doc
node version: v21.7.1
[email protected]
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
its only that in config.json
sounds that you didn't save config.json
ctrl s?
ah that was it
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
its working now
thank you