{"action":"opened","issue":{"url":"https://api.github.com/repos/grpc/grpc/issues/5578","repository_url":"https://api.github.com/repos/grpc/grpc","labels_url":"https://api.github.com/repos/grpc/grpc/issues/5578/labels{/name}","comments_url":"https://api.github.com/repos/grpc/grpc/issues/5578/comments","events_url":"https://api.github.com/repos/grpc/grpc/issues/5578/events","html_url":"https://github.com/grpc/grpc/issues/5578","id":138344942,"number":5578,"title":"npm install failed in base grpc directory","user":{"login":"stanley-cheung","id":11674202,"avatar_url":"https://avatars.githubusercontent.com/u/11674202?v=3","gravatar_id":"","url":"https://api.github.com/users/stanley-cheung","html_url":"https://github.com/stanley-cheung","followers_url":"https://api.github.com/users/stanley-cheung/followers","following_url":"https://api.github.com/users/stanley-cheung/following{/other_user}","gists_url":"https://api.github.com/users/stanley-cheung/gists{/gist_id}","starred_url":"https://api.github.com/users/stanley-cheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanley-cheung/subscriptions","organizations_url":"https://api.github.com/users/stanley-cheung/orgs","repos_url":"https://api.github.com/users/stanley-cheung/repos","events_url":"https://api.github.com/users/stanley-cheung/events{/privacy}","received_events_url":"https://api.github.com/users/stanley-cheung/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/grpc/grpc/labels/node","name":"node","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"murgatroid99","id":961599,"avatar_url":"https://avatars.githubusercontent.com/u/961599?v=3","gravatar_id":"","url":"https://api.github.com/users/murgatroid99","html_url":"https://github.com/murgatroid99","followers_url":"https://api.github.com/users/murgatroid99/followers","following_url":"https://api.github.com/users/murgatroid99/following{/other_user}","gists_url":"https://api.github.com/users/murgatroid99/gists{/gist_id}","starred_url":"https://api.github.com/users/murgatroid99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murgatroid99/subscriptions","organizations_url":"https://api.github.com/users/murgatroid99/orgs","repos_url":"https://api.github.com/users/murgatroid99/repos","events_url":"https://api.github.com/users/murgatroid99/events{/privacy}","received_events_url":"https://api.github.com/users/murgatroid99/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-03-04T01:08:34Z","updated_at":"2016-03-04T01:08:34Z","closed_at":null,"body":"This is my goobuntu machine. I have `nodejs-legacy` and `npm` installed.\r\n```\r\n~/grpc$ npm install\r\nnpm http GET https://registry.npmjs.org/lodash\r\nnpm http GET https://registry.npmjs.org/async\r\nnpm http GET https://registry.npmjs.org/google-auth-library\r\nnpm http GET https://registry.npmjs.org/protobufjs\r\nnpm http GET https://registry.npmjs.org/nan\r\nnpm http GET https://registry.npmjs.org/istanbul\r\n...\r\nnpm http 304 https://registry.npmjs.org/repeat-string\r\nnpm http GET https://registry.npmjs.org/is-buffer\r\nnpm http 304 https://registry.npmjs.org/underscore-contrib\r\nnpm http 304 https://registry.npmjs.org/is-buffer\r\nnpm http GET https://registry.npmjs.org/underscore/1.6.0\r\nnpm http 304 https://registry.npmjs.org/underscore/1.6.0\r\n\r\n> grpc@0.14.0-dev install /usr/local/google/home/stanleycheung/grpc\r\n> ./node_modules/.bin/node-pre-gyp install --fallback-to-build\r\n\r\nsh: ./node_modules/.bin/node-pre-gyp: No such file or directory\r\nnpm ERR! weird error 127\r\nnpm WARN This failure might be due to the use of legacy binary \"node\"\r\nnpm WARN For further explanations, please read\r\n/usr/share/doc/nodejs/README.Debian\r\n \r\nnpm ERR! not ok code 0\r\n```\r\n\r\n```\r\n~/grpc$ which node\r\n/usr/bin/node\r\n~/grpc$ which nodejs\r\n/usr/bin/nodejs\r\n~/grpc$ which npm\r\n/usr/bin/npm\r\n\r\n/usr/bin$ ls -l node*\r\nlrwxrwxrwx 1 root root       6 Mar 27  2014 node -> nodejs\r\nlrwxrwxrwx 1 root root      32 Dec 31  1999 nodedistance_cli -> /usr/lib/srv-tools/redirector.sh\r\nlrwxrwxrwx 1 root root      33 Oct 22  2013 node-gyp -> ../share/node-gyp/bin/node-gyp.js\r\n-rwxr-xr-x 1 root root 1462424 Mar 27  2014 nodejs\r\n\r\n~$ node --version\r\nv0.10.25\r\n~$ nodejs --version\r\nv0.10.25\r\n~$ npm --version\r\n1.3.10\r\n```"}}