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

Support node v4+/io.js release candidates #779

Open
ljharb opened this issue Jul 4, 2015 · 21 comments
Open

Support node v4+/io.js release candidates #779

ljharb opened this issue Jul 4, 2015 · 21 comments
Assignees
Labels
feature requests I want a new feature in nvm! installing node Issues with installing node/io.js versions. io.js This relates to https://iojs.org/

Comments

@ljharb
Copy link
Member

ljharb commented Jul 4, 2015

This issue is to track adding support for io.js release candidates. The same process will work for node post-merge.

@ljharb ljharb added installing node Issues with installing node/io.js versions. feature requests I want a new feature in nvm! io.js This relates to https://iojs.org/ labels Jul 4, 2015
@ljharb ljharb self-assigned this Jul 4, 2015
@ljharb
Copy link
Member Author

ljharb commented Jul 4, 2015

Linking to nodejs/node#2097 (comment) and #712, pinging @rvagg @Fishrock123

@rvagg
Copy link

rvagg commented Jul 4, 2015

Sweet, the 3.0's are available at https://iojs.org/download/rc/ and a really nice except for the fact that no native addon will build yet thanks to V8 dramas but we're getting there (track that progress here). The index.tab and index.json format is the same and we're now including a "headers" tarball that's just the source headers for compiling against.

@ljharb
Copy link
Member Author

ljharb commented Jul 4, 2015

Beautiful, thanks. So far the only really annoying part for me is that version numbers aren't just vX.Y.Z, they now have a -rcN suffix :-) Working on it now though.

@ljharb
Copy link
Member Author

ljharb commented Jul 5, 2015

I think I have the functionality done, but now I need to write the tests. I'll be out of the country for two weeks tomorrow, so my ability to work on this will be spotty, but hopefully I'll get it done shortly after my return if not before.

@rvagg, I won't want to merge this until the version format in nodejs/build#126 is resolved, ideally in a way where I only have to support one format for all io.js rc versions :-)

@SimenB
Copy link

SimenB commented Sep 5, 2015

Any news? Node v4 is currently in RC, would love to install it using nvm 😄

@ljharb
Copy link
Member Author

ljharb commented Sep 5, 2015

This won't be done quickly; at least not for a few weeks.

@ljharb ljharb changed the title Support io.js release candidates (and eventually node) Support node v4+/io.js release candidates Sep 5, 2015
@mgol
Copy link
Contributor

mgol commented Sep 5, 2015

For people who want to test the v4 rc via nvm; you can't install it via nvm but it's enough to download the proper *.tar.gz file from https://nodejs.org/download/rc/v4.0.0-rc.1/, unpack it and move it to $NVM_DIR/versions/node/v4.0.0-rc.1 and you can use it afterwards; works for me:

$ nvm use 4
$ nvm ls
    iojs-v3.3.0
       v0.10.40
        v0.12.7
->  v4.0.0-rc.1
         system
default -> node (-> v4.0.0-rc.1)
node -> stable (-> v4.0.0-rc.1) (default)
stable -> 4.0 (-> v4.0.0-rc.1) (default)
iojs -> iojs-v3.3 (-> iojs-v3.3.0) (default)
$ node --version
v4.0.0-rc.1

@ljharb
Copy link
Member Author

ljharb commented Sep 6, 2015

Please note, that if you do this, it will be incompatible with the eventual nvm implementation - so please be prepared to manually clean it up in a few weeks :-)

@mgol
Copy link
Contributor

mgol commented Sep 6, 2015

@ljharb Sure. Removing one folder is easy. :)

@jalcine
Copy link

jalcine commented Sep 8, 2015

@ljharb commented on Sep 5, 2015, 8:31 PM EDT:

Please note, that if you do this, it will be incompatible with the eventual nvm implementation - so please be prepared to manually clean it up in a few weeks :-)

We'd have to wait a few weeks for iojs 4 to be available via nvm? 😞 Is there a PR one can subscribe to for info?

@jkrems
Copy link

jkrems commented Sep 8, 2015

@jalcine I don't think this applies to node 4, only to node release candidates. In hopefully a few hours node v4 proper will be out and then this whole thing is moot. :)

@jalcine
Copy link

jalcine commented Sep 8, 2015

success
Once it's available, rest assured you'll find me like the kid in the GIF on Twitter 👍

@mgol
Copy link
Contributor

mgol commented Sep 8, 2015

Node v4 is already out and you can install it via nvm. Just remove any manually downloaded RCs first (if you followed my previous advice).

@wadey
Copy link

wadey commented Sep 8, 2015

Node v4 is already out and you can install it via nvm.

If I try to install Node v4 with nvm, I get this error:

$ nvm install v4.0.0
Installing node v1.0 and greater from source is not currently supported

Do I have something configured wrong?

@mgol
Copy link
Contributor

mgol commented Sep 9, 2015

@wadey Most likely you have outdated nvm. On my machine:

$ nvm --version
0.26.1

It's most likely easiest to just reinstall nvm: https://github.com/creationix/nvm#install-script

@ljharb
Copy link
Member Author

ljharb commented Sep 9, 2015

@wadey you're using nvm from the master branch. Please only use nvm from a tagged release.

@wadey
Copy link

wadey commented Sep 9, 2015

Ah, I was following the same steps nan uses to set up nvm:

I guess we should tell them to not use master as well.

@ljharb
Copy link
Member Author

ljharb commented Sep 9, 2015

@wadey thanks, filed nodejs/nan#444 to correct that

wadey added a commit to wadey/node-microtime that referenced this issue Sep 9, 2015
@michaelgilley
Copy link

+1

@ljharb
Copy link
Member Author

ljharb commented Sep 3, 2016

Unblocked by #1204.

@MylesBorins
Copy link

MylesBorins commented Sep 3, 2016

🎉🎉🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature requests I want a new feature in nvm! installing node Issues with installing node/io.js versions. io.js This relates to https://iojs.org/
Projects
None yet
Development

No branches or pull requests

9 participants