{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/35341","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35341/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35341/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35341/events","html_url":"https://github.com/Homebrew/homebrew/issues/35341","id":53052569,"number":35341,"title":"Node installation never completes","user":{"login":"Rnhmjoj","id":2817565,"avatar_url":"https://avatars.githubusercontent.com/u/2817565?v=3","gravatar_id":"","url":"https://api.github.com/users/Rnhmjoj","html_url":"https://github.com/Rnhmjoj","followers_url":"https://api.github.com/users/Rnhmjoj/followers","following_url":"https://api.github.com/users/Rnhmjoj/following{/other_user}","gists_url":"https://api.github.com/users/Rnhmjoj/gists{/gist_id}","starred_url":"https://api.github.com/users/Rnhmjoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rnhmjoj/subscriptions","organizations_url":"https://api.github.com/users/Rnhmjoj/orgs","repos_url":"https://api.github.com/users/Rnhmjoj/repos","events_url":"https://api.github.com/users/Rnhmjoj/events{/privacy}","received_events_url":"https://api.github.com/users/Rnhmjoj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-12-29T16:33:07Z","updated_at":"2015-01-01T21:05:39Z","closed_at":null,"body":"`brew install node` never completes. I waited for hours but it's just stuck. If I leave with ctrl-c npm won't be installed. This is the [log](http://hastebin.com/oyamiduruc).\r\n\r\nSo far I tried:\r\n\r\n```sh\r\n$ rm -rf /usr/local/lib/node_modeuls\r\n$ rm -rf ~/.npm\r\n$ rm /usr/local/include/node/* && sudo rm -rf /usr/local/include/node/* && sudo rm -rf /usr/local/lib/dtrace\r\n$ sudo chown -R `whoami` /usr/local\r\n$ brew rm node\r\n$ brew cleanup --force\r\n```\r\n\r\n`brew doctor` says:\r\nYour system is ready to brew."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/68498237","html_url":"https://github.com/Homebrew/homebrew/issues/35341#issuecomment-68498237","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35341","id":68498237,"user":{"login":"listochkin","id":405222,"avatar_url":"https://avatars.githubusercontent.com/u/405222?v=3","gravatar_id":"","url":"https://api.github.com/users/listochkin","html_url":"https://github.com/listochkin","followers_url":"https://api.github.com/users/listochkin/followers","following_url":"https://api.github.com/users/listochkin/following{/other_user}","gists_url":"https://api.github.com/users/listochkin/gists{/gist_id}","starred_url":"https://api.github.com/users/listochkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/listochkin/subscriptions","organizations_url":"https://api.github.com/users/listochkin/orgs","repos_url":"https://api.github.com/users/listochkin/repos","events_url":"https://api.github.com/users/listochkin/events{/privacy}","received_events_url":"https://api.github.com/users/listochkin/received_events","type":"User","site_admin":false},"created_at":"2015-01-01T21:05:39Z","updated_at":"2015-01-01T21:05:39Z","body":"I had an issue with `/usr/local/lib/node_modules/npm` being owned by `nobody` and not by `<exact user>` (`andrey` in my case). Once I ran `sudo chown -R andrey:staff /usr/local/lib/node_modules/npm` I could run `brew postinstall node` fine."}}