Skip to content

Project is Broken when using Node v11.1.0 #368

@lsntech

Description

@lsntech

Looks there are something broken on this project, im trying to run it and getting this error:

PS L:\projetos\zozo> node app.js
util.js:291
throw new ERR_INVALID_ARG_TYPE('superCtor', 'Function', superCtor);
^

TypeError [ERR_INVALID_ARG_TYPE]: The "superCtor" argument must be of type Function. Received type undefined
at Object.inherits (util.js:291:11)
at Object. (L:\projetos\zozo\node_modules\spdy\lib\spdy\connection.js:86:6)
at Module._compile (internal/modules/cjs/loader.js:707:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
at Module.load (internal/modules/cjs/loader.js:605:32)
at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
at Function.Module._load (internal/modules/cjs/loader.js:536:3)
at Module.require (internal/modules/cjs/loader.js:643:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (L:\projetos\zozo\node_modules\spdy\lib\spdy.js:20:19)

trying to run this code from tutorial:

var zetta = require('zetta');

zetta()
.name('FirstName LastName')
.listen(1337, function(){
console.log('Zetta is running at http://127.0.0.1:1337');
});

Metadata

Metadata

Assignees

No one assigned

    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