{"action":"created","issue":{"url":"https://api.github.com/repos/Unitech/PM2/issues/1200","labels_url":"https://api.github.com/repos/Unitech/PM2/issues/1200/labels{/name}","comments_url":"https://api.github.com/repos/Unitech/PM2/issues/1200/comments","events_url":"https://api.github.com/repos/Unitech/PM2/issues/1200/events","html_url":"https://github.com/Unitech/PM2/issues/1200","id":69767178,"number":1200,"title":"spawn eaccess error","user":{"login":"martingg88","id":7898120,"avatar_url":"https://avatars.githubusercontent.com/u/7898120?v=3","gravatar_id":"","url":"https://api.github.com/users/martingg88","html_url":"https://github.com/martingg88","followers_url":"https://api.github.com/users/martingg88/followers","following_url":"https://api.github.com/users/martingg88/following{/other_user}","gists_url":"https://api.github.com/users/martingg88/gists{/gist_id}","starred_url":"https://api.github.com/users/martingg88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martingg88/subscriptions","organizations_url":"https://api.github.com/users/martingg88/orgs","repos_url":"https://api.github.com/users/martingg88/repos","events_url":"https://api.github.com/users/martingg88/events{/privacy}","received_events_url":"https://api.github.com/users/martingg88/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-21T07:29:07Z","updated_at":"2015-04-24T14:42:41Z","closed_at":null,"body":"I do have spawn eaccess error after i did the following command. \r\n\r\nsu www-data \r\npm2 -v\r\n\r\nError: spawn EACCES\r\n    at exports._errnoException (util.js:746:11)\r\n    at ChildProcess.spawn (child_process.js:1162:11)\r\n    at Object.exports.spawn (child_process.js:995:9)\r\n    at Object.launchDaemon (/usr/local/nvm/versions/node/v0.12.2/lib/node_modules/pm2/lib/Satan.js:346:40)\r\n    at /usr/local/nvm/versions/node/v0.12.2/lib/node_modules/pm2/lib/Satan.js:53:20\r\n    at /usr/local/nvm/versions/node/v0.12.2/lib/node_modules/pm2/lib/Satan.js:394:14\r\n    at process._tickDomainCallback (node.js:381:11)\r\n[ctown@dolpin root]$ echo PM2_NODE_OPTIONS\r\n\r\n\r\nBesides that, any step/guideline to run pm2 service as non-root user?"},"comment":{"url":"https://api.github.com/repos/Unitech/PM2/issues/comments/95951707","html_url":"https://github.com/Unitech/PM2/issues/1200#issuecomment-95951707","issue_url":"https://api.github.com/repos/Unitech/PM2/issues/1200","id":95951707,"user":{"login":"martingg88","id":7898120,"avatar_url":"https://avatars.githubusercontent.com/u/7898120?v=3","gravatar_id":"","url":"https://api.github.com/users/martingg88","html_url":"https://github.com/martingg88","followers_url":"https://api.github.com/users/martingg88/followers","following_url":"https://api.github.com/users/martingg88/following{/other_user}","gists_url":"https://api.github.com/users/martingg88/gists{/gist_id}","starred_url":"https://api.github.com/users/martingg88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martingg88/subscriptions","organizations_url":"https://api.github.com/users/martingg88/orgs","repos_url":"https://api.github.com/users/martingg88/repos","events_url":"https://api.github.com/users/martingg88/events{/privacy}","received_events_url":"https://api.github.com/users/martingg88/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T14:42:41Z","updated_at":"2015-04-24T14:42:41Z","body":"I tried the following method in order .\r\ndump file is no empty before reboot.\r\ndump file become empty after reboot\r\npm2 start process\r\npm2 save\r\nreboot"}}