{"action":"closed","issue":{"url":"https://api.github.com/repos/opengeogroep/safetymapsDBK/issues/15","labels_url":"https://api.github.com/repos/opengeogroep/safetymapsDBK/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/opengeogroep/safetymapsDBK/issues/15/comments","events_url":"https://api.github.com/repos/opengeogroep/safetymapsDBK/issues/15/events","html_url":"https://github.com/opengeogroep/safetymapsDBK/issues/15","id":124050178,"number":15,"title":"TypeError: app.use() requires middleware functions","user":{"login":"matthijsln","id":1926261,"avatar_url":"https://avatars.githubusercontent.com/u/1926261?v=3","gravatar_id":"","url":"https://api.github.com/users/matthijsln","html_url":"https://github.com/matthijsln","followers_url":"https://api.github.com/users/matthijsln/followers","following_url":"https://api.github.com/users/matthijsln/following{/other_user}","gists_url":"https://api.github.com/users/matthijsln/gists{/gist_id}","starred_url":"https://api.github.com/users/matthijsln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthijsln/subscriptions","organizations_url":"https://api.github.com/users/matthijsln/orgs","repos_url":"https://api.github.com/users/matthijsln/repos","events_url":"https://api.github.com/users/matthijsln/events{/privacy}","received_events_url":"https://api.github.com/users/matthijsln/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opengeogroep/safetymapsDBK/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-28T10:42:17Z","updated_at":"2015-12-28T11:05:58Z","closed_at":"2015-12-28T11:05:58Z","body":"```\r\nmatthijsln@b3p-matthijs:~/dev/dbk/safetymapsDBK-master$ npm test\r\n\r\n> opendispatcher@3.1.0 test /home/matthijsln/dev/dbk/safetymapsDBK-master\r\n> mocha test --timeout 30000 --reporter dot --bail --check-leaks test/\r\n\r\n\r\n/home/matthijsln/dev/dbk/safetymapsDBK-master/node_modules/express/lib/application.js:209\r\n    throw new TypeError('app.use() requires middleware functions');\r\n          ^\r\nTypeError: app.use() requires middleware functions\r\n    at EventEmitter.use (/home/matthijsln/dev/dbk/safetymapsDBK-master/node_modules/express/lib/application.js:209:11)\r\n    at Object.<anonymous> (/home/matthijsln/dev/dbk/safetymapsDBK-master/server.js:113:5)\r\n    at Module._compile (module.js:456:26)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Module.require (module.js:364:17)\r\n    at require (module.js:380:17)\r\n    at Object.<anonymous> (/home/matthijsln/dev/dbk/safetymapsDBK-master/test/testBag.js:22:14)\r\n    at Module._compile (module.js:456:26)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Module.require (module.js:364:17)\r\n    at require (module.js:380:17)\r\n    at /home/matthijsln/dev/dbk/safetymapsDBK-master/node_modules/mocha/lib/mocha.js:216:27\r\n    at Array.forEach (native)\r\n    at Mocha.loadFiles (/home/matthijsln/dev/dbk/safetymapsDBK-master/node_modules/mocha/lib/mocha.js:213:14)\r\n    at Mocha.run (/home/matthijsln/dev/dbk/safetymapsDBK-master/node_modules/mocha/lib/mocha.js:453:10)\r\n    at Object.<anonymous> (/home/matthijsln/dev/dbk/safetymapsDBK-master/node_modules/mocha/bin/_mocha:401:18)\r\n    at Module._compile (module.js:456:26)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Function.Module.runMain (module.js:497:10)\r\n    at startup (node.js:119:16)\r\n    at node.js:902:3\r\n```"}}