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

Node 8 Support #1

Open
comster opened this issue Jan 25, 2018 · 3 comments
Open

Node 8 Support #1

comster opened this issue Jan 25, 2018 · 3 comments

Comments

@comster
Copy link

comster commented Jan 25, 2018

After a client disconnects, I'm getting:

Error: write after end

@watson
Copy link
Owner

watson commented Jan 28, 2018

Do you have a stack trace?

@comster
Copy link
Author

comster commented Jan 30, 2018

Sorry I've had trouble debugging this, starting with an error with opn on my server. Also I was a little confused by the hyperbel.js example that seems to run only briefly and then the process ends, instead of keeping the web server open. I'm not sure if server.unref() is necessary?

In regards to the issue with clients disconnecting, I think this workaround pump worked:
comster@075b62f

I was thinking node version because streams API or something, but idk.

@watson
Copy link
Owner

watson commented Jan 30, 2018

examples/hyperbel.js is supposed to exit once after it's done plotting.

Could you show me how you're using the API?

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

2 participants