philippd / angular-deferred-bootstrap

Initialize your AngularJS app with constants loaded from the back-end.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trouble getting build to run

benze opened this issue · comments

I'm trying to run the demo builds as I am having errors when I try to integrate this package into my own, but the Gruntfile is failing.

I've cloned the repo, and done the following:

npm install
grunt build
grunt server

but get the following error:

Eric-MacBook-Pro:angular-deferred-bootstrap eric$ grunt server
Running "express:server" (express) task

Running "express-server:server" (express-server) task
Fatal error: Server ["/private/tmp/bootstrap/angular-deferred-bootstrap/server.js"] -  TypeError: Object function (req, res, next) {
    app.handle(req, res, next);
  } has no method 'configure'

I'm not quite sure what to do at this point.

I could reproduce this issue and will try to fix it in the next days. Thanks for reporting.

Fixed with 1c0dcd7

run the following to see the demo pages:

  • npm install
  • grunt dev (for live reload if you want that)
  • grunt server
  • open localhost:3005/demo