Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

process.EventEmitter is deprecated #24

Open
ahysing opened this issue May 13, 2016 · 7 comments
Open

process.EventEmitter is deprecated #24

ahysing opened this issue May 13, 2016 · 7 comments

Comments

@ahysing
Copy link

ahysing commented May 13, 2016

On startup I get the following message in my console

(node:272) DeprecationWarning: process.EventEmitter is deprecated. Use require('events') instead.
RoboHydra ready on port 3000 - Admin URL: http://localhost:3000/robohydra-admin

I run on node version v6.1.0 and robohydra version 0.6.4 straight from npm

@emanchado
Copy link
Contributor

Thanks for the bug report! It seems to be the websocket.io module, which unfortunately hasn't been updated for years, and is probably abandoned. I'll file a bug report to that module, and at the same time try to use the ws module instead (for boring reasons I was using two WebSocket modules).

@emanchado
Copy link
Contributor

I have just pushed a fix for it, if you want to give it a try. I'm not sure when I'll make an actual release, but probably during the weekend or next week.

However, if you're using WebSockets, I'd really appreciate some extra testing before I do the release.

@ahysing
Copy link
Author

ahysing commented May 14, 2016

Thank you for feeback so far. I will get this fix tested next week. However I am not capable of functionaly testing what WebSockets features are working. I can assure simple GET and POST requests are working just as before.

@bodfaj13
Copy link

(node:6800) DeprecationWarning: process.EventEmitter is deprecated. Use require('events') instead.
I really need help with this

@emanchado
Copy link
Contributor

@bodfaj13 is this just a warning or does RoboHydra not work? If it's a showstopper, can you try to manually install ws version 2.3.1 and see if that fixes it? If it does, I'll make a new release with the bumped dependency.

@bodfaj13
Copy link

bodfaj13 commented Jun 1, 2017

Thanks

@emanchado
Copy link
Contributor

@bodfaj13: did you try? did it work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants