-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Great example, but the command "grunt server" fails with the following error message:
Warning: Object function createServer() {
function app(req, res, next){ app.handle(req, res, next); }
merge(app, proto);
merge(app, EventEmitter.prototype);
app.route = '/';
app.stack = [];
return app;
} has no method 'static' Use --force to continue.
This is due to grunt-contrib-connect 0.11.x.
It works fine with version 0.10.x though, so to fix it just install grunt-contrib-connect with the version specified when you install the packages necessary to run the example:
npm install grunt grunt-contrib-less grunt-contrib-connect@0.10.1 grunt-contrib-watch grunt-open matchdep connect-livereload --save-dev
Metadata
Metadata
Assignees
Labels
No labels