{"action":"opened","issue":{"url":"https://api.github.com/repos/sass/node-sass-middleware/issues/58","labels_url":"https://api.github.com/repos/sass/node-sass-middleware/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/sass/node-sass-middleware/issues/58/comments","events_url":"https://api.github.com/repos/sass/node-sass-middleware/issues/58/events","html_url":"https://github.com/sass/node-sass-middleware/issues/58","id":106749262,"number":58,"title":"0.9.5 fails due to undefined sassPath (and cssPath)","user":{"login":"cofiem","id":441771,"avatar_url":"https://avatars.githubusercontent.com/u/441771?v=3","gravatar_id":"","url":"https://api.github.com/users/cofiem","html_url":"https://github.com/cofiem","followers_url":"https://api.github.com/users/cofiem/followers","following_url":"https://api.github.com/users/cofiem/following{/other_user}","gists_url":"https://api.github.com/users/cofiem/gists{/gist_id}","starred_url":"https://api.github.com/users/cofiem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cofiem/subscriptions","organizations_url":"https://api.github.com/users/cofiem/orgs","repos_url":"https://api.github.com/users/cofiem/repos","events_url":"https://api.github.com/users/cofiem/events{/privacy}","received_events_url":"https://api.github.com/users/cofiem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-16T10:58:18Z","updated_at":"2015-09-16T10:58:18Z","closed_at":null,"body":"express.js server error\r\n\r\n````\r\n$ DEBUG=myapp npm start\r\n\r\n> phd-prototypes@0.0.0 start /home/me/myapp\r\n> node ./bin/www\r\n\r\n  read: undefined\r\nGET / 500 489.753 ms - 1119\r\nError: Can't set headers after they are sent.\r\n    at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:335:11)\r\n    at ServerResponse.header (/home/me/myapp/node_modules/express/lib/response.js:718:10)\r\n    at ServerResponse.send (/home/me/myapp/node_modules/express/lib/response.js:163:12)\r\n    at done (/home/me/myapp/node_modules/express/lib/response.js:957:10)\r\n    at Object.exports.renderFile (/home/me/myapp/node_modules/jade/lib/index.js:374:12)\r\n    at View.exports.__express [as engine] (/home/me/myapp/node_modules/jade/lib/index.js:417:11)\r\n    at View.render (/home/me/myapp/node_modules/express/lib/view.js:126:8)\r\n    at tryRender (/home/me/myapp/node_modules/express/lib/application.js:639:10)\r\n    at EventEmitter.render (/home/me/myapp/node_modules/express/lib/application.js:591:3)\r\n    at ServerResponse.render (/home/me/myapp/node_modules/express/lib/response.js:961:7)\r\n`````\r\n\r\nexpress.js client error\r\n\r\n````\r\nTypeError: path must be a string\r\n    at TypeError (native)\r\n    at Object.fs.exists (fs.js:210:11)\r\n    at compile (/home/me/myapp/node_modules/node-sass-middleware/middleware.js:223:10)\r\n    at sass (/home/me/myapp/node_modules/node-sass-middleware/middleware.js:248:14)\r\n    at Layer.handle [as handle_request] (/home/me/myapp/node_modules/express/lib/router/layer.js:95:5)\r\n    at trim_prefix (/home/me/myapp/node_modules/express/lib/router/index.js:312:13)\r\n    at /home/me/myapp/node_modules/express/lib/router/index.js:280:7\r\n    at Function.process_params (/home/me/myapp/node_modules/express/lib/router/index.js:330:12)\r\n    at next (/home/me/myapp/node_modules/express/lib/router/index.js:271:10)\r\n    at cookieParser (/home/me/myapp/node_modules/cookie-parser/index.js:48:5)"}}