-
Notifications
You must be signed in to change notification settings - Fork 114
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
Project is Broken when using Node v11.1.0 #368
Comments
There may be issues with compatibility with the latest versions of Node.js. Supported up to v6 for now. Which version of Node.js are you running? |
Hi, |
@lsntech workaround is to add this before requiring zetta:
|
@sealedair-elliott Thanks for your update, It did work for me. |
Should update the document then. |
Opened a new PR since i lost access to the repo after leaving Google. #379 I also published version [email protected] that incorporates all these changes. The latest version of Zetta should work with Node.js 18 and other newer versions of Node. |
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');
});
The text was updated successfully, but these errors were encountered: