Skip to content

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

Description

@ngConsulti

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions