Closed ChALkeR closed 7 years ago
+1. Please fix this. This library no longer functions in Node 7, which prevents other libraries -- like websockify -- from working.
This is now completely broken with Node 7.
Published 0.0.6 with a fix, apologies for the inconvenience this caused.
process.EventEmitter
was deprecated in Node.js 6 and is going to be removed in Node.js 7, userequire('events')
as a drop-in replacement.Refs: https://github.com/nodejs/node/pull/5049, https://github.com/nodejs/node/pull/6862.
Used on lib/server.js#L253 and in tests.