Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows installer removes node, breaks npm #361

Closed
jhermsmeier opened this issue Jan 14, 2015 · 5 comments
Closed

Windows installer removes node, breaks npm #361

jhermsmeier opened this issue Jan 14, 2015 · 5 comments

Comments

@jhermsmeier
Copy link

The Windows installer uninstalls any previously installed version of node (which shouldn't happen in the first place), but it also breaks npm, because the npm.cmd from the io.js install still references node.exe.
It also breaks the node installer, which errors with "A later version of node.js is already installed".

@rvagg
Copy link
Member

rvagg commented Jan 14, 2015

there was supposed to be a node.exe link in 1.0.0 but the release was slightly borked, a 1.0.1 is dropping in the next 15 minutes that will change this.

As for uninstalling node, it could be because we're using the same IDs as Node, @piscisaureus any idea how we might go about changing all that so we're a unique project from Windows' perspective?

@kfranqueiro
Copy link

I just stumbled across this in my own testing as well. I'd ideally like to be able to keep node installed as-is so that projects I am working on which explicitly require it can continue to use it (although I'm aware that io.js should theoretically be compatible). It seems like it ought to be possible for the two to coexist on one system rather than having iojs uproot an existing node.js installation or override its executable with a link to io.js's own. Any thoughts on if that'd be possible longer-term?

@domenic
Copy link
Contributor

domenic commented Jan 14, 2015

@kfranqueiro that should be pretty easy, just download the binary iojs.exe instead of using the installer.

@kfranqueiro
Copy link

That's a fair point and I had missed the win-... folders at the top of the dist folder. I can certainly work with that for now. Would be cool for the installer to be coexistence-friendly too eventually though.

@jhermsmeier
Copy link
Author

@rvagg Thanks for the quick response & fix!

It'd really be nice if node & iojs could coexist, maybe make it an option in the installer?
That's a topic for a different issue though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants