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
Example not working #2
Comments
The package.json file doesn't contains fixed versions of modules... |
The example is out-dated. let's update it. |
an update would be great. @kevinxh have you found another solution. |
@Zrce I submitted a pull request to update the example. |
@Zrce in the meanwhile just use my forked repo :) |
@jaredhanson Any chance to get this merged? #5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
node app.js
/.../app.js:51
var app = express.createServer();
^
TypeError: Object function createApplication() {
var app = function(req, res, next) {
app.handle(req, res, next);
};
mixin(app, proto);
mixin(app, EventEmitter.prototype);
app.request = { proto: req, app: app };
app.response = { proto: res, app: app };
app.init();
return app;
} has no method 'createServer'
at Object. (/.../app.js:51:19)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
The text was updated successfully, but these errors were encountered: