{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/35853","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35853/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35853/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35853/events","html_url":"https://github.com/Homebrew/homebrew/pull/35853","id":54282439,"number":35853,"title":"add iojs","user":{"login":"aredridel","id":2876,"avatar_url":"https://avatars.githubusercontent.com/u/2876?v=3","gravatar_id":"","url":"https://api.github.com/users/aredridel","html_url":"https://github.com/aredridel","followers_url":"https://api.github.com/users/aredridel/followers","following_url":"https://api.github.com/users/aredridel/following{/other_user}","gists_url":"https://api.github.com/users/aredridel/gists{/gist_id}","starred_url":"https://api.github.com/users/aredridel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aredridel/subscriptions","organizations_url":"https://api.github.com/users/aredridel/orgs","repos_url":"https://api.github.com/users/aredridel/repos","events_url":"https://api.github.com/users/aredridel/events{/privacy}","received_events_url":"https://api.github.com/users/aredridel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-14T04:18:19Z","updated_at":"2015-01-14T04:31:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/35853","html_url":"https://github.com/Homebrew/homebrew/pull/35853","diff_url":"https://github.com/Homebrew/homebrew/pull/35853.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/35853.patch"},"body":null},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/69867882","html_url":"https://github.com/Homebrew/homebrew/pull/35853#issuecomment-69867882","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35853","id":69867882,"user":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T04:31:37Z","updated_at":"2015-01-14T04:31:37Z","body":"I made this point [here](https://github.com/iojs/io.js/issues/298#issuecomment-69866619), but given this is tagged as a beta on the website, this really belongs in ` devel-only ` and not the core, for now. There also needs to be a way to detect if ` Node ` is installed, and warn people if they try to install ` iojs ` on top of Node.\r\n\r\n![screen shot 2015-01-14 at 04 23 37](https://cloud.githubusercontent.com/assets/6998367/5734035/2051ee46-9ba5-11e4-8658-c9ffc5aa8603.png)\r\n\r\nThe last discussion I saw, ` iojs ` was going to preserve a ` node ` symlink to itself, and an ` npm ` one as well, which makes this *heavily* conflicting with Node to the point it makes me want to sob quietly in the corner for a while. Either we need to add a firm ` conflicts_with \"node\" ` or we need to enforce a dependency on having ` nvm ` or something similar installed if someone tries to install ` iojs ` and ` node ` alongside each other. See [discussion here](https://github.com/npm/npm/issues/7032) on some of that.\r\n\r\nRight now, this will collide with ` node ` *and* uninstall any more recent ` npm ` version you currently have in the ` $PATH `, so that's fun. We need to guard that.\r\n\r\n```\r\n==> Finishing up\r\nln -s ../Cellar/iojs/1.0.0/bin/iojs iojs\r\nrm /usr/local/bin/iojs\r\nError: The `brew link` step did not complete successfully\r\nThe formula built, but is not symlinked into /usr/local\r\nCould not symlink bin/node\r\nTarget /usr/local/bin/node\r\nis a symlink belonging to node. You can unlink it:\r\n  brew unlink node\r\n\r\nTo force the link and overwrite all conflicting files:\r\n  brew link --overwrite iojs\r\n\r\nTo list all files that would be deleted:\r\n  brew link --overwrite --dry-run iojs\r\n\r\nPossible conflicting files are:\r\n/usr/local/bin/node -> /usr/local/Cellar/node/0.10.35_2/bin/node\r\n/usr/local/include/node/ares.h\r\n/usr/local/include/node/ares_version.h\r\n/usr/local/include/node/common.gypi\r\n/usr/local/include/node/config.gypi\r\n/usr/local/include/node/nameser.h\r\n/usr/local/include/node/node.h\r\n/usr/local/include/node/node_buffer.h\r\n/usr/local/include/node/node_internals.h\r\n/usr/local/include/node/node_object_wrap.h\r\n/usr/local/include/node/node_version.h\r\n/usr/local/include/node/openssl/opensslconf.h\r\n/usr/local/include/node/uv-private/ngx-queue.h\r\n/usr/local/include/node/uv-private/stdint-msvc2008.h\r\n/usr/local/include/node/uv-private/tree.h\r\n/usr/local/include/node/uv-private/uv-bsd.h\r\n/usr/local/include/node/uv-private/uv-darwin.h\r\n/usr/local/include/node/uv-private/uv-linux.h\r\n/usr/local/include/node/uv-private/uv-sunos.h\r\n/usr/local/include/node/uv-private/uv-unix.h\r\n/usr/local/include/node/uv-private/uv-win.h\r\n/usr/local/include/node/uv.h\r\n/usr/local/include/node/v8-debug.h\r\n/usr/local/include/node/v8-preparser.h\r\n/usr/local/include/node/v8-profiler.h\r\n/usr/local/include/node/v8-testing.h\r\n/usr/local/include/node/v8.h\r\n/usr/local/include/node/v8stdint.h\r\n/usr/local/include/node/zconf.h\r\n/usr/local/include/node/zlib.h\r\n/usr/local/include/node/ares.h\r\n/usr/local/include/node/ares_version.h\r\n/usr/local/include/node/common.gypi\r\n/usr/local/include/node/config.gypi\r\n/usr/local/include/node/nameser.h\r\n/usr/local/include/node/node.h\r\n/usr/local/include/node/node_buffer.h\r\n/usr/local/include/node/node_internals.h\r\n/usr/local/include/node/node_object_wrap.h\r\n/usr/local/include/node/node_version.h\r\n/usr/local/include/node/openssl/opensslconf.h\r\n/usr/local/include/node/uv.h\r\n/usr/local/include/node/v8-debug.h\r\n/usr/local/include/node/v8-profiler.h\r\n/usr/local/include/node/v8-testing.h\r\n/usr/local/include/node/v8.h\r\n/usr/local/include/node/zconf.h\r\n/usr/local/include/node/zlib.h\r\n/usr/local/lib/dtrace/node.d -> /usr/local/Cellar/node/0.10.35_2/lib/dtrace/node.d\r\n==> make uninstall\r\nnode cli.js rm npm -g -f\r\nnpm WARN using --force I sure hope you know what you are doing.\r\nunbuild npm@2.1.18\r\n```\r\n\r\nThis should also be refactored against the ` node ` update we pushed this morning, so we can repeat the same trick we used there to bottle ` npm ` here and better support a wider range of systems in a more stable way, and to include the ` ssl ` configure switches if they are available, and use the newer ` npm `.\r\n\r\nPlease, let's try to tread gently on this. The Node ecosystem does not play nicely with itself at the best of times, let alone with other new conflicting elements."}}