Recent searches


No recent searches

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



Posted Jul 09, 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 comment

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


Please sign in to leave a comment.

Didn't find what you're looking for?

New post