{"action":"created","issue":{"url":"https://api.github.com/repos/Level/leveldown/issues/234","labels_url":"https://api.github.com/repos/Level/leveldown/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/Level/leveldown/issues/234/comments","events_url":"https://api.github.com/repos/Level/leveldown/issues/234/events","html_url":"https://github.com/Level/leveldown/issues/234","id":116553384,"number":234,"title":"`prebuild` not found with npm 2.14.7","user":{"login":"julien-f","id":298721,"avatar_url":"https://avatars.githubusercontent.com/u/298721?v=3","gravatar_id":"","url":"https://api.github.com/users/julien-f","html_url":"https://github.com/julien-f","followers_url":"https://api.github.com/users/julien-f/followers","following_url":"https://api.github.com/users/julien-f/following{/other_user}","gists_url":"https://api.github.com/users/julien-f/gists{/gist_id}","starred_url":"https://api.github.com/users/julien-f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julien-f/subscriptions","organizations_url":"https://api.github.com/users/julien-f/orgs","repos_url":"https://api.github.com/users/julien-f/repos","events_url":"https://api.github.com/users/julien-f/events{/privacy}","received_events_url":"https://api.github.com/users/julien-f/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-11-12T13:58:17Z","updated_at":"2015-11-12T16:16:30Z","closed_at":null,"body":"Installing only leveldown works but installing both leveldown and prebuild fails:\r\n\r\n```\r\n> npm i prebuild leveldown\r\n \r\n> leveldown@1.4.2 install /root/tmp/node_modules/leveldown\r\n> prebuild --download\r\n\r\nsh: 1: prebuild: not found\r\nnpm ERR! Linux 3.2.0-4-amd64\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"i\" \"prebuild\" \"leveldown\"\r\nnpm ERR! node v4.2.1\r\nnpm ERR! npm  v2.14.7\r\nnpm ERR! file sh\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno ENOENT\r\nnpm ERR! syscall spawn\r\n\r\nnpm ERR! leveldown@1.4.2 install: `prebuild --download`\r\nnpm ERR! spawn ENOENT\r\nnpm ERR! \r\nnpm ERR! Failed at the leveldown@1.4.2 install script 'prebuild --download'.\r\nnpm ERR! This is most likely a problem with the leveldown package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     prebuild --download\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls leveldown\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /root/tmp/npm-debug.log\r\n```"},"comment":{"url":"https://api.github.com/repos/Level/leveldown/issues/comments/156152635","html_url":"https://github.com/Level/leveldown/issues/234#issuecomment-156152635","issue_url":"https://api.github.com/repos/Level/leveldown/issues/234","id":156152635,"user":{"login":"julien-f","id":298721,"avatar_url":"https://avatars.githubusercontent.com/u/298721?v=3","gravatar_id":"","url":"https://api.github.com/users/julien-f","html_url":"https://github.com/julien-f","followers_url":"https://api.github.com/users/julien-f/followers","following_url":"https://api.github.com/users/julien-f/following{/other_user}","gists_url":"https://api.github.com/users/julien-f/gists{/gist_id}","starred_url":"https://api.github.com/users/julien-f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julien-f/subscriptions","organizations_url":"https://api.github.com/users/julien-f/orgs","repos_url":"https://api.github.com/users/julien-f/repos","events_url":"https://api.github.com/users/julien-f/events{/privacy}","received_events_url":"https://api.github.com/users/julien-f/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T16:16:30Z","updated_at":"2015-11-12T16:16:30Z","body":"Yes, I deploy the software as a single npm package and the `npm rebuild` in `postinstall` ensures (at least AFAIU :p) that compiled package are properly rebuild against the correct version of Node."}}