{"action":"created","issue":{"url":"https://api.github.com/repos/Unitech/PM2/issues/1235","labels_url":"https://api.github.com/repos/Unitech/PM2/issues/1235/labels{/name}","comments_url":"https://api.github.com/repos/Unitech/PM2/issues/1235/comments","events_url":"https://api.github.com/repos/Unitech/PM2/issues/1235/events","html_url":"https://github.com/Unitech/PM2/issues/1235","id":73138105,"number":1235,"title":"PM2 STARTUP silently fails if no HOME can be resolved","user":{"login":"glesperance","id":611342,"avatar_url":"https://avatars.githubusercontent.com/u/611342?v=3","gravatar_id":"","url":"https://api.github.com/users/glesperance","html_url":"https://github.com/glesperance","followers_url":"https://api.github.com/users/glesperance/followers","following_url":"https://api.github.com/users/glesperance/following{/other_user}","gists_url":"https://api.github.com/users/glesperance/gists{/gist_id}","starred_url":"https://api.github.com/users/glesperance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glesperance/subscriptions","organizations_url":"https://api.github.com/users/glesperance/orgs","repos_url":"https://api.github.com/users/glesperance/repos","events_url":"https://api.github.com/users/glesperance/events{/privacy}","received_events_url":"https://api.github.com/users/glesperance/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-04T21:55:59Z","updated_at":"2015-05-05T07:25:57Z","closed_at":null,"body":"If all no `HOME` can be resolved,\r\n\r\nthat is if : \r\n\r\n`typeof (process.env.PM2_HOME || process.env.HOME || process.env.HOMEPATH) == 'undefined'`\r\n\r\n(as is it the case when we run `pm2 startup` via `exec` in puppet a manifest)\r\n\r\npm2 silently fails and hangs trying to launch the pm2 daemon.\r\n\r\nThis the CLI should report the error and quit, not hang.\r\n"},"comment":{"url":"https://api.github.com/repos/Unitech/PM2/issues/comments/98982044","html_url":"https://github.com/Unitech/PM2/issues/1235#issuecomment-98982044","issue_url":"https://api.github.com/repos/Unitech/PM2/issues/1235","id":98982044,"user":{"login":"jshkurti","id":7647602,"avatar_url":"https://avatars.githubusercontent.com/u/7647602?v=3","gravatar_id":"","url":"https://api.github.com/users/jshkurti","html_url":"https://github.com/jshkurti","followers_url":"https://api.github.com/users/jshkurti/followers","following_url":"https://api.github.com/users/jshkurti/following{/other_user}","gists_url":"https://api.github.com/users/jshkurti/gists{/gist_id}","starred_url":"https://api.github.com/users/jshkurti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshkurti/subscriptions","organizations_url":"https://api.github.com/users/jshkurti/orgs","repos_url":"https://api.github.com/users/jshkurti/repos","events_url":"https://api.github.com/users/jshkurti/events{/privacy}","received_events_url":"https://api.github.com/users/jshkurti/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T07:25:57Z","updated_at":"2015-05-05T07:25:57Z","body":"Ok thanks for reporting this. I'm gonna fix it."}}