{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/47449","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/47449/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/47449/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/47449/events","html_url":"https://github.com/Homebrew/homebrew/issues/47449","id":124056969,"number":47449,"title":"brew install node followed by npm install -g browserify doesn't create /usr/local/bin/browserify","user":{"login":"sglaser","id":3137177,"avatar_url":"https://avatars.githubusercontent.com/u/3137177?v=3","gravatar_id":"","url":"https://api.github.com/users/sglaser","html_url":"https://github.com/sglaser","followers_url":"https://api.github.com/users/sglaser/followers","following_url":"https://api.github.com/users/sglaser/following{/other_user}","gists_url":"https://api.github.com/users/sglaser/gists{/gist_id}","starred_url":"https://api.github.com/users/sglaser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sglaser/subscriptions","organizations_url":"https://api.github.com/users/sglaser/orgs","repos_url":"https://api.github.com/users/sglaser/repos","events_url":"https://api.github.com/users/sglaser/events{/privacy}","received_events_url":"https://api.github.com/users/sglaser/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/homebrew/labels/needs%20response","name":"needs response","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-28T11:50:34Z","updated_at":"2016-01-02T23:33:28Z","closed_at":"2016-01-02T22:46:20Z","body":"If I install node using the current homebrew formula on osx el capitan, it correctly installs node v5.3.0.\r\n\r\nIf I then try to install the browserify node package using `sudo npm install -g browserify` the package installs correctly but there is nothing left in `/usr/local/bin/browserify`\r\n\r\nIf I install node using the package from nodejs.org and then install browserify using npm, this works properly.\r\n\r\nI suspect that this may be due to the browserify package.json file being a bit unusual. Specifically it has:\r\n\r\n`\"bin\": {\r\n\"browserify\": \"bin/cmd.js\"\r\n},`\r\n\r\ninstead of the more typical\r\n\r\n`\"bin\": {\r\n\"browserify\": \"bin/browserify\"\r\n},`\r\n\r\nSee also https://github.com/substack/node-browserify/issues/1465 \r\n"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/168438542","html_url":"https://github.com/Homebrew/homebrew/issues/47449#issuecomment-168438542","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/47449","id":168438542,"user":{"login":"sglaser","id":3137177,"avatar_url":"https://avatars.githubusercontent.com/u/3137177?v=3","gravatar_id":"","url":"https://api.github.com/users/sglaser","html_url":"https://github.com/sglaser","followers_url":"https://api.github.com/users/sglaser/followers","following_url":"https://api.github.com/users/sglaser/following{/other_user}","gists_url":"https://api.github.com/users/sglaser/gists{/gist_id}","starred_url":"https://api.github.com/users/sglaser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sglaser/subscriptions","organizations_url":"https://api.github.com/users/sglaser/orgs","repos_url":"https://api.github.com/users/sglaser/repos","events_url":"https://api.github.com/users/sglaser/events{/privacy}","received_events_url":"https://api.github.com/users/sglaser/received_events","type":"User","site_admin":false},"created_at":"2016-01-02T23:33:28Z","updated_at":"2016-01-02T23:33:28Z","body":"Just reinstalled from scratch using home-brew and everything installs as it should.\n\nI’m not sure why npm was putting things in /usr/local/lib/Cellar/node*/node_modules instead of /usr/local/lib/node_modules.\n\nI did have both node flavors installed at different times (nodes.org vs brew). It’s quire likely that I didn’t fully remove one before switching. I also defaulted .npmrc to global at one point (bad idea, but I was learning).\n\nSteve Glaser\nsglaser@sglaser.com\n\n\n\n> On Jan 2, 2016, at 4:46 PM, Dominyk Tiller <notifications@github.com> wrote:\n> \n> Closed #47449 <https://github.com/Homebrew/homebrew/issues/47449>.\n> \n> —\n> Reply to this email directly or view it on GitHub <https://github.com/Homebrew/homebrew/issues/47449#event-504060862>.\n> \n\n"}}