ExLibrisGroup / primo-explore-devenv

A node.js , gulp based development enviornment for Primo's new UI customizations (css,images,html and javascript)
BSD 3-Clause "New" or "Revised" License
114 stars 84 forks source link

"SyntaxError: Unexpected end of JSON input" causes environment to stop running when starting up #126

Closed ianchan closed 3 years ago

ianchan commented 3 years ago

I'm encountering the following error when I run "gulp run --view " I've been using this for several years now and have not come across this before. I updated to the most recent release in January and did not encounter problems after that. Here is the error message:

SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>) at IncomingMessage.<anonymous> (/Users/ichan/Documents/Sites/webserver/primo-explore-devenv/gulp/tasks/08-servers.js:59:53) at IncomingMessage.emit (events.js:194:15) at IncomingMessage.EventEmitter.emit (domain.js:459:23) at endReadableNT (_stream_readable.js:1125:12) at process._tickCallback (internal/process/next_tick.js:63:19)

Any help I could get with resolving this would be greatly appreciated.

ianchan commented 3 years ago

It started working late yesterday. Perhaps it was a network glitch. I thought initially switching browsers was the reason it started working but that seems unlikely.