After launching the logger (all default options except RasPi IP entered) and successfully saving a few data points, it crashes with the following dump:
undefined:2
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at Socket. (/home/pi/speed-logger/speed.js:156:18)
at emitOne (events.js:121:20)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:246:13)
at Socket.Readable.push (_stream_readable.js:208:10)
at Pipe.onread (net.js:601:20)
Running on Raspberry Pi 3 B+ / Raspbian Stretch
After launching the logger (all default options except RasPi IP entered) and successfully saving a few data points, it crashes with the following dump:
undefined:2
SyntaxError: Unexpected end of JSON input at JSON.parse ()
at Socket. (/home/pi/speed-logger/speed.js:156:18)
at emitOne (events.js:121:20)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:246:13)
at Socket.Readable.push (_stream_readable.js:208:10)
at Pipe.onread (net.js:601:20)