You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The binary and long term compatibility with node #43
Per today's TC meeting, the plan is to rename to binary to iojs and ln -s iojs node on install if a node binary doesn't already exist. How to make the symlink work on Windows is up for discussion, see #140.
NAN requires executing 'node' to find the location of the header. Windows compatibility is the main source of problems when it comes to using multiple alternative names. nodejs/nan#70
@kenperkins After thinking about it some more, I fear that stomping on an existing install is probably the only workable approach. I didn't realize how much stuff the installer installs into $prefix/include and $prefix/lib and I don't think it's possible to detect whether that's from a joyent/node or iojs install.
Considering #249 and #42 where does this issue sit? Seems like in #249 a decision has been made, so I think that should be reflected here and maybe close this one?
Having iojs alias back to node with both binaries being available to call in the $PATH, It's going to make packaging iojs alongside node hell. Completely understand and appreciate why it needs to be done, but I wiggle uncomfortably on the potential for iojs and node to just play the "let's override each other's links" game if they're installed side-by-side.
Maybe it would be good to semi-officially support/recommend version manages (nvm, n) as part of our website/README. Especially if we can get those projects to support iojs sooner than later. (Or fork our own.)
It could help people maintain both versions and have a clearer sense of which they are on.
I'm pretty sure that's unnecessary, we have version manager authors/maintainers involved here and looking to make them work with io.js: nodejs/build#22
Don't fork the version manager; as @rvagg mentions there's plenty of interest and desire for the current package managers to stay current with trends in all the forks.
As long as io.js supports the same things as node.js - namely, curl-able binaries + source, easy-to-consume-from-POSIX version URLs, and path-related environment variables, http://nvm.sh will definitely support io.js.
What the project decides to do with the binary doesn't matter to me wrt nvm, as long as it either stays backwards-compatible, or provides notice for breaking changes so nvm can be updated.
Activity
greduan commentedon Dec 4, 2014
👍 For
iojs.juliangruber commentedon Dec 7, 2014
people that really care will
alias io='iojs'anywaysgreduan commentedon Dec 7, 2014
iohas a higher probability of conflicting with other commands thoughsnostorm commentedon Dec 10, 2014
Noting the discussion here (re: the project's default command line name) may relate to the outcome of #118
bnoordhuis commentedon Dec 10, 2014
Per today's TC meeting, the plan is to rename to binary to
iojsandln -s iojs nodeon install if anodebinary doesn't already exist. How to make the symlink work on Windows is up for discussion, see #140.kenperkins commentedon Dec 10, 2014
@bnoordhuis so that means that if node is already present, we won't do anything (wrt to the symlink, or removing node)?
I'm not sure I like the idea that depending on the state of the system, invoking
nodemay or may not result in theiojsbinary being executed.I wonder if we'd be better off being more explicit in our behavior; a couple of options:
Thoughts?
kkoopa commentedon Dec 11, 2014
NAN requires executing 'node' to find the location of the header. Windows compatibility is the main source of problems when it comes to using multiple alternative names. nodejs/nan#70
bnoordhuis commentedon Dec 11, 2014
@kenperkins After thinking about it some more, I fear that stomping on an existing install is probably the only workable approach. I didn't realize how much stuff the installer installs into $prefix/include and $prefix/lib and I don't think it's possible to detect whether that's from a joyent/node or iojs install.
kenperkins commentedon Jan 8, 2015
Considering #249 and #42 where does this issue sit? Seems like in #249 a decision has been made, so I think that should be reflected here and maybe close this one?
DomT4 commentedon Jan 8, 2015
Having
iojsalias back tonodewith both binaries being available to call in the$PATH, It's going to make packagingiojsalongsidenodehell. Completely understand and appreciate why it needs to be done, but I wiggle uncomfortably on the potential foriojsandnodeto just play the "let's override each other's links" game if they're installed side-by-side.snostorm commentedon Jan 8, 2015
Maybe it would be good to semi-officially support/recommend version manages (nvm, n) as part of our website/README. Especially if we can get those projects to support iojs sooner than later. (Or fork our own.)
It could help people maintain both versions and have a clearer sense of which they are on.
fixe commentedon Jan 8, 2015
+1 for creating our own version manager.
rvagg commentedon Jan 8, 2015
I'm pretty sure that's unnecessary, we have version manager authors/maintainers involved here and looking to make them work with io.js: nodejs/build#22
DavidSouther commentedon Jan 9, 2015
Don't fork the version manager; as @rvagg mentions there's plenty of interest and desire for the current package managers to stay current with trends in all the forks.
ljharb commentedon Jan 9, 2015
As long as
io.jssupports the same things asnode.js- namely,curl-able binaries + source, easy-to-consume-from-POSIX version URLs, and path-related environment variables, http://nvm.sh will definitely supportio.js.What the project decides to do with the binary doesn't matter to me wrt
nvm, as long as it either stays backwards-compatible, or provides notice for breaking changes sonvmcan be updated.deps: update npm to 6.10.3
deps: update npm to 6.10.3
deps: update npm to 6.10.3
deps: update npm to 6.10.3
Anonimpgk commentedon Apr 21, 2021