voidstarr / signald-node

client library for signald
3 stars 0 forks source link

listContacts error #2

Open Ralle opened 4 years ago

Ralle commented 4 years ago

Hey!

When I do listContacts() I get this error:

SyntaxError: Unexpected token { in JSON at position 2137
    at JSON.parse (<anonymous>)
    at Socket.<anonymous> (/home/node/app/node_modules/signald-node/src/util/SocketHandler.js:55:40)
    at Socket.emit (events.js:326:22)
    at addChunk (_stream_readable.js:307:12)
    at readableAddChunk (_stream_readable.js:278:11)
    at Socket.Readable.push (_stream_readable.js:221:10)
    at Pipe.onStreamRead (internal/stream_base_commons.js:188:23)