baryshev / look

Performance profiler based on nodetime
MIT License
449 stars 42 forks source link

TypeError: Cannot call method 'emit' of undefined #18

Open bf opened 9 years ago

bf commented 9 years ago
/node_modules/look/lib/receiver.js:34
        this.sockets[data.args.socket].emit('commands', [ data ]);
                                       ^
TypeError: Cannot call method 'emit' of undefined
    at Receiver.send (/node_modules/look/lib/receiver.js:34:34)
    at process.<anonymous> (/node_modules/look/lib/observer.js:41:11)
    at process.emit (events.js:98:17)
    at handleMessage (child_process.js:322:10)
    at Pipe.channel.onread (child_process.js:349:11)