Pesquisas recentes


Sem pesquisas recentes

Error while running an application - SyntaxError: Unexpected end of JSON input



Publicado 09 de jul. de 2024

Hi,

I am getting following error. not sure what is happening. i can't get out of this error while running the application.

 

[1] SyntaxError: Unexpected end of JSON input
[1]     at JSON.parse (<anonymous>)
[1]     at getManifestFile (C:\Users\SBDESHMUKH\AppData\Roaming\npm\node_modules\@zendesk\zcli\node_modules\@zendesk\zcli-apps\dist\utils\manifest.js:13:17)
[1]     at buildAppJSON (C:\Users\SBDESHMUKH\AppData\Roaming\npm\node_modules\@zendesk\zcli\node_modules\@zendesk\zcli-apps\dist\lib\buildAppJSON.js:124:57)
[1]     at FSWatcher.<anonymous> (C:\Users\SBDESHMUKH\AppData\Roaming\npm\node_modules\@zendesk\zcli\node_modules\@zendesk\zcli-apps\dist\commands\apps\server.js:36:65)
[1]     at FSWatcher.emit (node:events:513:28)
[1]     at FSWatcher._handle.onchange (node:internal/fs/watchers:212:12)


0

1

1 comentário

Hello,

 

The error “SyntaxError: Unexpected end of JSON input” typically occurs when the JSON.parse() method encounters something that isn’t valid JSON, such as an empty string, incomplete data, or malformed JSON structure. In your case, it seems to be happening when the application is trying to parse the manifest file for a Zendesk app.

 

Best Regard

Time and attendance management

 

0


Por favor, entrar para comentar.

Não encontrou o que estava procurando?

Nova publicação