Hi I was working on a discord bot project and then my bot wouldn’t refresh anymore, it kept saying this from the console
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at /opt/watcher/source/app-picker.ts:105:37
at ChildProcess.exithandler (child_process.js:285:7)
at ChildProcess.emit (events.js:189:13)
at ChildProcess.EventEmitter.emit (domain.js:441:20)
at maybe close (internal/child_process.js:970:16)
at Socket.stream.socket.on (internal/child_process.js:389:11)
at Socket. emit (events.js:189:13)
at Socket.EventEmitter.emit (domain.js:441:20)
at Pipe._handle.close (net.js:597:12)
i got this site https://unexpectedendoffile.com/unexpected-end-of-json-input/
. and I think I’m missing something
I don’t know if someone can fix this