{"action":"created","issue":{"url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/218","labels_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/218/comments","events_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/218/events","html_url":"https://github.com/OpenBazaar/OpenBazaar-Client/issues/218","id":117234455,"number":218,"title":"NPM unable to launch client (OSX)","user":{"login":"HugeRoo","id":15865333,"avatar_url":"https://avatars.githubusercontent.com/u/15865333?v=3","gravatar_id":"","url":"https://api.github.com/users/HugeRoo","html_url":"https://github.com/HugeRoo","followers_url":"https://api.github.com/users/HugeRoo/followers","following_url":"https://api.github.com/users/HugeRoo/following{/other_user}","gists_url":"https://api.github.com/users/HugeRoo/gists{/gist_id}","starred_url":"https://api.github.com/users/HugeRoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HugeRoo/subscriptions","organizations_url":"https://api.github.com/users/HugeRoo/orgs","repos_url":"https://api.github.com/users/HugeRoo/repos","events_url":"https://api.github.com/users/HugeRoo/events{/privacy}","received_events_url":"https://api.github.com/users/HugeRoo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-16T22:34:37Z","updated_at":"2015-12-17T22:02:34Z","closed_at":"2015-11-16T23:13:58Z","body":"Command: npm start\r\n\r\n> OpenBazaar@0.1.0 start /Users/xxx/.Trash/OpenBazaar-Client-master\r\n> electron main.js\r\n\r\nsh: electron: command not found\r\n\r\nnpm ERR! Darwin 15.0.0\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"start\"\r\nnpm ERR! node v5.0.0\r\nnpm ERR! npm  v3.3.6\r\nnpm ERR! file sh\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno ENOENT\r\nnpm ERR! syscall spawn\r\nnpm ERR! OpenBazaar@0.1.0 start: `electron main.js`\r\nnpm ERR! spawn ENOENT\r\nnpm ERR! \r\nnpm ERR! Failed at the OpenBazaar@0.1.0 start script 'electron main.js'.\r\nnpm ERR! This is most likely a problem with the OpenBazaar package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     electron main.js\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls OpenBazaar\r\nnpm ERR! There is likely additional logging output above.\r\nSorry, I don't have the debug logs working yet.\r\n\r\n![screen shot 2015-11-17 at 9 31 16 am](https://cloud.githubusercontent.com/assets/15865333/11196896/08f4cc0e-8d0e-11e5-9093-fbe256fa1f94.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/comments/165594953","html_url":"https://github.com/OpenBazaar/OpenBazaar-Client/issues/218#issuecomment-165594953","issue_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/218","id":165594953,"user":{"login":"moldcraft","id":1475489,"avatar_url":"https://avatars.githubusercontent.com/u/1475489?v=3","gravatar_id":"","url":"https://api.github.com/users/moldcraft","html_url":"https://github.com/moldcraft","followers_url":"https://api.github.com/users/moldcraft/followers","following_url":"https://api.github.com/users/moldcraft/following{/other_user}","gists_url":"https://api.github.com/users/moldcraft/gists{/gist_id}","starred_url":"https://api.github.com/users/moldcraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moldcraft/subscriptions","organizations_url":"https://api.github.com/users/moldcraft/orgs","repos_url":"https://api.github.com/users/moldcraft/repos","events_url":"https://api.github.com/users/moldcraft/events{/privacy}","received_events_url":"https://api.github.com/users/moldcraft/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T22:02:34Z","updated_at":"2015-12-17T22:02:34Z","body":"I executed `sh make_openbazaar.sh linux` and I get\r\n\r\n```\r\n23221 error Error: ENOENT, lstat '/home/m/tmp/npm-13518-D8F3OPoc/1450389257708-0.28381657344289124/package/index.js'\r\n23222 error If you need help, you may report this log at:\r\n23222 error     <http://github.com/isaacs/npm/issues>\r\n23222 error or email it to:\r\n23222 error     <npm-@googlegroups.com>\r\n23223 error System Linux 3.19.0-30-generic\r\n23224 error command \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"install\"\r\n23225 error cwd /home/m/Downloads/OpenBazaar-Installer-master/OpenBazaar-Client\r\n23226 error node -v v0.10.25\r\n23227 error npm -v 1.3.10\r\n23228 error path /home/m/tmp/npm-13518-D8F3OPoc/1450389257708-0.28381657344289124/package/index.js\r\n23229 error fstream_path /home/m/tmp/npm-13518-D8F3OPoc/1450389257708-0.28381657344289124/package/index.js\r\n23230 error fstream_type File\r\n23231 error fstream_class FileWriter\r\n23232 error code ENOENT\r\n23233 error errno 34\r\n23234 error fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26\r\n23234 error fstream_stack Object.oncomplete (fs.js:107:15)\r\n23235 verbose exit [ 34, true ]\r\n```\r\n\r\nI executed `npm install electron-prebuilt` and I get\r\n\r\n```\r\n8729 silly lockFile 00aa5fab-jsonpointer-2-0-0 jsonpointer@2.0.0\r\n8730 verbose lock jsonpointer@2.0.0 /home/m/.npm/00aa5fab-jsonpointer-2-0-0.lock\r\n8731 error Error: EACCES, open '/home/m/.npm/graceful-readlink/1.0.1/package.tgz'\r\n8731 error  { [Error: EACCES, open '/home/m/.npm/graceful-readlink/1.0.1/package.tgz']\r\n8731 error   errno: 3,\r\n8731 error   code: 'EACCES',\r\n8731 error   path: '/home/m/.npm/graceful-readlink/1.0.1/package.tgz' }\r\n8732 error Please try running this command again as root/Administrator.\r\n8733 error System Linux 3.19.0-30-generic\r\n8734 error command \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"install\" \"electron-prebuilt\"\r\n8735 error cwd /home/m/Downloads/OpenBazaar-Installer-master\r\n8736 error node -v v0.10.25\r\n8737 error npm -v 1.3.10\r\n8738 error path /home/m/.npm/graceful-readlink/1.0.1/package.tgz\r\n8739 error code EACCES\r\n8740 error errno 3\r\n8741 error stack Error: EACCES, open '/home/m/.npm/graceful-readlink/1.0.1/package.tgz'\r\n8742 verbose exit [ 3, true ]\r\n```"}}