SyntaxError: Unexpected end of JSON input

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

Hi @joxafa,

Thanks for opening this issue.

Please review the submission template and include more details:

  • What Grafana version and what operating system are you using?
  • What is your datasource?
  • What visualization panel you are using e.g. time-series, bar chart, histogram etc?
  • What are you trying to achieve?
  • How are you trying to achieve it?
  • What happened?
  • What did you expect to happen?
  • Can you copy/paste the configuration(s) that you are having problems with?
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
  • Did you follow any online instructions? If so, what is the URL?