-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
install nightly? #1053
Comments
Currently, no. Long before nightlies are supported, I'd need to support, in this order:
In other words, this is blocked on, among other things, #779. |
Waiting on nvm-sh/nvm#1053 for nightly installs.
* Test against more relevant versions of node - allow for `node@unstable` failures - slightly quicker npm install * Remove "unstable" from Node versions Waiting on nvm-sh/nvm#1053 for nightly installs. * Keep [email protected] * Test against node@5 and [email protected]
Unblocked by #1204. |
Neat just had a use-case to use this to install nightlies in order to test some changes made in order to support the tentative Node.js 8. |
Any updates on this? I want to test the new features in Node.js 8 too 😄 |
Here's how you do it for now https://medium.com/@poenneby/with-nvm-installed-you-can-do-this-54585c77685c#.ld955be3j
|
Thanks for that @light24bulbs. Only solution I found that worked. |
If anyone's using zsh-nvm I just baked this functionality in. You can do
|
@lukechilds that's really unfortunate, and makes me want to remove zsh-nvm from the readme. Nightlies simply should't be installed by nvm until nvm supports installing nightlies. especially since node 8 will likely be out before this very night is over, and this won't come up again for another year. |
@ljharb Oh, sorry, didn't realise you were so strongly against this. Personally I think this is quite a useful feature other than just for installing node 8. Sometimes if I find what I think is a bug/performance issue with V8 (the engine) it's helpful to just quickly pull down the latest nightly and see if the issue is still there. But yeah, I hear what you're saying, this is the only feature in zsh-nvm that doesn't play 100% nicely with nvm. I'm running I'm pretty busy with some other projects at the moment but once I'm free I'd be happy to put some time to get nightlies/rcs working in core. Until then I can add a disclaimer to that section on the readme warning that this is experimental and highlighting the potential issues it could cause. |
@lukechilds It's a useful feature when supported natively in nvm, yes. However, it's worth noting that most people shouldn't ever install nightlies - and the people that can, don't need it to be particularly easy to do so - so it's not that pressing a use case. The concern I have with |
I think it would be pretty simple to prevent breakage. How are you planning to handle nightly/rc versions? If you're gonna drop them all into If you're planning on saving them somewhere else e.g |
@ljharb I need it easier 😄 when doing cross platform testing, |
@refack even if you count all v8 and chakra and spidermonkey and node core devs (which is the only group I believe that truly needs the feature), that's still a small group :-/ still a very important group tho, which is why it's on the roadmap :-) |
I read the thread more carefully and found that |
As long as you're aware that it will definitely break in the future! |
I was starting a brand new project and wanted to build against Node 8 features. I didn't care about safety or stability because I knew node 8 would be done before my project was even 25%. And you know what? It worked perfectly. I had no language bugs, and then soon, 8 was released. I switched over to the stable edition. This, I think, is a perfectly reasonable flow and demonstrates that you should allow users to do the things they want, for the most part, and trust them to do it. That is the very definition of "powerful software". If you're worried about people using RCs on production just include a warning when installing saying "THIS IS ALPHA SOFTWARE, IF YOU HAVE AN ISSUE, PLEASE TRY REVERTING. DO NOT USE IN PROD." That's what a powerful software library would do. Letting people easily try the RCs will increase the bug testing for node and speed up development through bug reporting and more thorough testing. What do you mean it will break? That you're going to take out the ability to use alternative node mirrors? |
@light24bulbs I do plan to add the ability to install RCs and nightlies; it's in my road map. What I mean by "will break" is that if you hack around the mirror approach to install v9, before v9 is available, things will likely work in an unpredictable fashion once you update to an nvm that does support installing v9 nightlies/RCs. Separately, I'm glad you had a great experience! That's not proof that it's a good approach though - it's simply proof that it can be. I'm not interested in At any rate, people can already try the RCs - just not yet officially with |
Ah ok, excuse me for misunderstanding. I missed that you said:
Those are great points. I think, when you do add the ability to install release candidates, mentioning these concerns when the user installs them could mitigate some of the issue. NVM is hard to use incorrectly, so I thank you for that. |
How did you guess my life's motto 😕 (yes my life's motto is about |
Wondering what the state of this is? I'm not a core node.js developer, but I am using a lot of async/await and noticed that Node.js 12.x (on nightlies) has developing helpful new features for it (notably the |
@phillipwei, came here for the exact same reason! |
Would it be possible to install nightly versions via nvm?
Different folder. Good news is that they have a file listing that seems to be sorted newest on top:
https://nodejs.org/download/nightly/index.tab
The text was updated successfully, but these errors were encountered: