I use " node-red-contrib-kodi" to control my light when watching movies but when i quit kodi node-red crashes.. I cannot understand why..
Does anyone have a clue?
2 Dec 19:38:06 - [red] Uncaught Exception:
2 Dec 19:38:06 - SyntaxError: Failed to handle response: Unexpected token ? in JSON at position 0
at JSON.parse (<anonymous>)
at Schema.handleResponse (C:\Users\NAS\.node-red\node_modules\jrpc-schema\lib\Schema.js:80:21)
at WebSocket.<anonymous> (C:\Users\NAS\.node-red\node_modules\kodi-ws\lib\Connection.js:30:18)
at WebSocket.emit (events.js:203:13)
at Receiver.ontext (C:\Users\NAS\.node-red\node_modules\ws\lib\WebSocket.js:841:10)
at C:\Users\NAS\.node-red\node_modules\ws\lib\Receiver.js:536:18
at Receiver.applyExtensions (C:\Users\NAS\.node-red\node_modules\ws\lib\Receiver.js:371:5)
at C:\Users\NAS\.node-red\node_modules\ws\lib\Receiver.js:508:14
at Receiver.flush (C:\Users\NAS\.node-red\node_modules\ws\lib\Receiver.js:347:3)
at Receiver.finish (C:\Users\NAS\.node-red\node_modules\ws\lib\Receiver.js:541:12)