{"action":"created","issue":{"url":"https://api.github.com/repos/maxogden/dat/issues/374","labels_url":"https://api.github.com/repos/maxogden/dat/issues/374/labels{/name}","comments_url":"https://api.github.com/repos/maxogden/dat/issues/374/comments","events_url":"https://api.github.com/repos/maxogden/dat/issues/374/events","html_url":"https://github.com/maxogden/dat/issues/374","id":99277414,"number":374,"title":"dat installation fails on prebuild --download","user":{"login":"sboysel","id":6607829,"avatar_url":"https://avatars.githubusercontent.com/u/6607829?v=3","gravatar_id":"","url":"https://api.github.com/users/sboysel","html_url":"https://github.com/sboysel","followers_url":"https://api.github.com/users/sboysel/followers","following_url":"https://api.github.com/users/sboysel/following{/other_user}","gists_url":"https://api.github.com/users/sboysel/gists{/gist_id}","starred_url":"https://api.github.com/users/sboysel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sboysel/subscriptions","organizations_url":"https://api.github.com/users/sboysel/orgs","repos_url":"https://api.github.com/users/sboysel/repos","events_url":"https://api.github.com/users/sboysel/events{/privacy}","received_events_url":"https://api.github.com/users/sboysel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-05T19:15:55Z","updated_at":"2015-08-10T16:19:12Z","closed_at":null,"body":"Hello all,\r\n\r\nFollowing up an issue I mentioned in IRC.  `prebuild --download` fails when installing dat from either `sudo npm install dat -g` or `sudo npm install -g` in the cloned repo.\r\n\r\n    > leveldown@1.4.0 install /usr/lib/node_modules/dat/node_modules/dat-core/node_modules/leveldown\r\n    > prebuild --download\r\n\r\n    prebuild http request GET https://github.com/level/leveldown/releases/download/v1.4.0/leveldown-v1.4.0-node-v14-linux-x64.tar.gz\r\n    prebuild WARN install EACCES, open '/root/.npm/_prebuilds/https-github.com-level-leveldown-releases-download-v1.4.0-leveldown-v1.4.0-node-v14-linux-x64.tar.gz.15808-25ec8c26.tmp'\r\n    prebuild info install Could not install prebuild. Falling back to compilation\r\n    prebuild ERR! build EACCES, mkdir '/root/.node-gyp/0.12.7/deps/http_parser'\r\n\r\nSome system specs:\r\n\r\n    > uname -a\r\n    Linux archbook 4.1.4-1-ARCH #1 SMP PREEMPT Mon Aug 3 21:30:37 UTC 2015 x86_64 GNU/Linux\r\n\r\n    > node --version\r\n    v0.12.7\r\n\r\n    > npm --version\r\n    2.13.2\r\n\r\nI'm a complete nodejs novice but I'm willing to help troubleshoot in any way I can."},"comment":{"url":"https://api.github.com/repos/maxogden/dat/issues/comments/129515817","html_url":"https://github.com/maxogden/dat/issues/374#issuecomment-129515817","issue_url":"https://api.github.com/repos/maxogden/dat/issues/374","id":129515817,"user":{"login":"sboysel","id":6607829,"avatar_url":"https://avatars.githubusercontent.com/u/6607829?v=3","gravatar_id":"","url":"https://api.github.com/users/sboysel","html_url":"https://github.com/sboysel","followers_url":"https://api.github.com/users/sboysel/followers","following_url":"https://api.github.com/users/sboysel/following{/other_user}","gists_url":"https://api.github.com/users/sboysel/gists{/gist_id}","starred_url":"https://api.github.com/users/sboysel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sboysel/subscriptions","organizations_url":"https://api.github.com/users/sboysel/orgs","repos_url":"https://api.github.com/users/sboysel/repos","events_url":"https://api.github.com/users/sboysel/events{/privacy}","received_events_url":"https://api.github.com/users/sboysel/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T16:19:12Z","updated_at":"2015-08-10T16:19:12Z","body":"Works for me as well.  Thanks @mafintosh !"}}