Using require('look').start() at the beginning of main.
As soon as I navigate to http://0.0.0.0:5959
The application crashes
events.js:72
throw er; // Unhandled 'error' event
^
Error: channel closed
at process.target.send (child_process.js:402:26)
at null.<anonymous> (/home/hertz/projects/turnstile/pigate/node_modules/look/lib/observer.js:33:10)
at EventEmitter.emit (events.js:95:17)
at Receiver.addSocket (/home/hertz/projects/turnstile/pigate/node_modules/look/lib/receiver.js:19:7)
at SocketNamespace.<anonymous> (/home/hertz/projects/turnstile/pigate/node_modules/look/lib/observer.js:37:11)
at SocketNamespace.EventEmitter.emit [as $emit] (events.js:117:20)
at connect (/home/hertz/projects/turnstile/pigate/node_modules/look/node_modules/socket.io/lib/namespace.js:292:10)
at /home/hertz/projects/turnstile/pigate/node_modules/look/node_modules/socket.io/lib/namespace.js:308:13
at SocketNamespace.authorize (/home/hertz/projects/turnstile/pigate/node_modules/look/node_modules/socket.io/lib/namespace.js:252:5)
at SocketNamespace.handlePacket (/home/hertz/projects/turnstile/pigate/node_modules/look/node_modules/socket.io/lib/namespace.js:302:14)
Using
require('look').start()
at the beginning of main. As soon as I navigate tohttp://0.0.0.0:5959
The application crashes