{"action":"created","issue":{"url":"https://api.github.com/repos/datatypevoid/ng2-mean-webpack/issues/9","repository_url":"https://api.github.com/repos/datatypevoid/ng2-mean-webpack","labels_url":"https://api.github.com/repos/datatypevoid/ng2-mean-webpack/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/datatypevoid/ng2-mean-webpack/issues/9/comments","events_url":"https://api.github.com/repos/datatypevoid/ng2-mean-webpack/issues/9/events","html_url":"https://github.com/datatypevoid/ng2-mean-webpack/issues/9","id":141699158,"number":9,"title":"express sendfile depreciated. ","user":{"login":"liu-kanghui","id":13057188,"avatar_url":"https://avatars.githubusercontent.com/u/13057188?v=3","gravatar_id":"","url":"https://api.github.com/users/liu-kanghui","html_url":"https://github.com/liu-kanghui","followers_url":"https://api.github.com/users/liu-kanghui/followers","following_url":"https://api.github.com/users/liu-kanghui/following{/other_user}","gists_url":"https://api.github.com/users/liu-kanghui/gists{/gist_id}","starred_url":"https://api.github.com/users/liu-kanghui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liu-kanghui/subscriptions","organizations_url":"https://api.github.com/users/liu-kanghui/orgs","repos_url":"https://api.github.com/users/liu-kanghui/repos","events_url":"https://api.github.com/users/liu-kanghui/events{/privacy}","received_events_url":"https://api.github.com/users/liu-kanghui/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-17T20:33:04Z","updated_at":"2016-03-17T20:56:23Z","closed_at":"2016-03-17T20:39:06Z","body":"express deprecated res.sendfile: Use res.sendFile instead app/routes.js:73:9\r\n\r\nI am trying to replace the template in app.ts  using an external app.html\r\nbut when i use sendFile. \r\nit throws me error like this \r\n\r\nTypeError: path must be absolute or specify root to res.sendFile\r\n    at ServerResponse.sendFile (/Users/kanghuiliu/goodi-beta9/node_modules/express/lib/response.js:403:11)\r\n    at routes.js:81:9\r\n    at Layer.handle [as handle_request] (/Users/kanghuiliu/goodi-beta9/node_modules/express/lib/router/layer.js:95:5)\r\n    at next (/Users/kanghuiliu/goodi-beta9/node_modules/express/lib/router/route.js:131:13)\r\n"},"comment":{"url":"https://api.github.com/repos/datatypevoid/ng2-mean-webpack/issues/comments/198079216","html_url":"https://github.com/datatypevoid/ng2-mean-webpack/issues/9#issuecomment-198079216","issue_url":"https://api.github.com/repos/datatypevoid/ng2-mean-webpack/issues/9","id":198079216,"user":{"login":"datatypevoid","id":10481547,"avatar_url":"https://avatars.githubusercontent.com/u/10481547?v=3","gravatar_id":"","url":"https://api.github.com/users/datatypevoid","html_url":"https://github.com/datatypevoid","followers_url":"https://api.github.com/users/datatypevoid/followers","following_url":"https://api.github.com/users/datatypevoid/following{/other_user}","gists_url":"https://api.github.com/users/datatypevoid/gists{/gist_id}","starred_url":"https://api.github.com/users/datatypevoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datatypevoid/subscriptions","organizations_url":"https://api.github.com/users/datatypevoid/orgs","repos_url":"https://api.github.com/users/datatypevoid/repos","events_url":"https://api.github.com/users/datatypevoid/events{/privacy}","received_events_url":"https://api.github.com/users/datatypevoid/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T20:56:23Z","updated_at":"2016-03-17T20:56:23Z","body":"Glad you got everything worked out @liu-kanghui !\r\n\r\nI will have that `Express` error fixed very soon, I just can't seem to get around to it ;p\r\n\r\nJust so you know, the project has switched names and continued at: https://github.com/datatypevoid/vulgar\r\n\r\nAlso, if you have support questions that aren't necessarily issues, we do have a support Slack that you can access here: http://www.davidniciforovic.com/wp-login.php?action=slack-invitation\r\n\r\nHope everything else is working out well for you!"}}