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

TypeError in _stream_writable.js on NodeJS v4.x and v5.0 #49

Open
ngConsulti opened this issue Nov 4, 2015 · 0 comments
Open

TypeError in _stream_writable.js on NodeJS v4.x and v5.0 #49

ngConsulti opened this issue Nov 4, 2015 · 0 comments
Assignees

Comments

@ngConsulti
Copy link

It would seem that Zone is not usable beyond v0.12.x? I've tested on v4.0, v4.1, v4.2, and v5.0 with the same results:

TypeError: Cannot read property 'length' of undefined
    at onwriteDrain (_stream_writable.js:354:12)
    at Zone.afterWrite (_stream_writable.js:344:5)
    at Zone._apply (./node_modules/zone/lib/zone.js:597:15)
    at Zone.apply (./node_modules/zone/lib/zone.js:621:23)
    at processCallbacks (./node_modules/zone/lib/scheduler.js:47:10)
    at processQueues (./node_modules/zone/lib/scheduler.js:67:5)
    at doNTCallback0 (node.js:419:9)
    at EventEmitter._tickCallback (node.js:348:13)
    at Function.Module.runMain (module.js:469:11)
    at startup (node.js:136:18)

This result can be generated with the simplest of Express apps:

require('zone').enable();

var express = require('express');
var app = express();
var router = express.Router();

app.use('/', router);
app.listen(3000);

I've also noticed that the last commit to this project is 9 months ago. Is this project dead/dying? Is there a successor?

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