{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/46131","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/46131/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/46131/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/46131/events","html_url":"https://github.com/Homebrew/homebrew/issues/46131","id":117661721,"number":46131,"title":"npm: `npm outdated -g` errors - specific to Homebrew npm installation","user":{"login":"ericvw","id":1284017,"avatar_url":"https://avatars.githubusercontent.com/u/1284017?v=3","gravatar_id":"","url":"https://api.github.com/users/ericvw","html_url":"https://github.com/ericvw","followers_url":"https://api.github.com/users/ericvw/followers","following_url":"https://api.github.com/users/ericvw/following{/other_user}","gists_url":"https://api.github.com/users/ericvw/gists{/gist_id}","starred_url":"https://api.github.com/users/ericvw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericvw/subscriptions","organizations_url":"https://api.github.com/users/ericvw/orgs","repos_url":"https://api.github.com/users/ericvw/repos","events_url":"https://api.github.com/users/ericvw/events{/privacy}","received_events_url":"https://api.github.com/users/ericvw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-18T19:27:13Z","updated_at":"2015-11-18T20:37:32Z","closed_at":null,"body":"`npm outdated -g` does not to appear to behave correctly when installed via the `node` formula.  To reproduce:\r\n```shell\r\n$ npm outdated -g\r\nnpm ERR! addLocal Could not install /private/tmp/node20151118-87384-ribwmd/node-v5.1.0/npm_install\r\n\r\n$ npm outdated\r\n# note that this only appears to be affected with -g\r\n```\r\n\r\nI have verified that both v5.0.0 and v5.1.0 via Homebrew experiences this issue.  When using `nvm` to test out a near 'vanilla' installation, this error does not occur.\r\n\r\nIn researching this issue, I came across npm/npm#10165 as well.  I am still digging a bit deeper to understand the root cause."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/157855768","html_url":"https://github.com/Homebrew/homebrew/issues/46131#issuecomment-157855768","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/46131","id":157855768,"user":{"login":"ericvw","id":1284017,"avatar_url":"https://avatars.githubusercontent.com/u/1284017?v=3","gravatar_id":"","url":"https://api.github.com/users/ericvw","html_url":"https://github.com/ericvw","followers_url":"https://api.github.com/users/ericvw/followers","following_url":"https://api.github.com/users/ericvw/following{/other_user}","gists_url":"https://api.github.com/users/ericvw/gists{/gist_id}","starred_url":"https://api.github.com/users/ericvw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericvw/subscriptions","organizations_url":"https://api.github.com/users/ericvw/orgs","repos_url":"https://api.github.com/users/ericvw/repos","events_url":"https://api.github.com/users/ericvw/events{/privacy}","received_events_url":"https://api.github.com/users/ericvw/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T20:37:32Z","updated_at":"2015-11-18T20:37:32Z","body":"I can imagine that this was/is one of those controversial discussions :D."}}