Repository navigation
Use Node v4.4.5 - #563
Use Node v4.4.5#563
Conversation
|
/cc @atom/core, @atom/feedback |
|
Considering how long it took us to take on this upgrade (my fault), I'm 👍 on choosing the LTS version. |
|
@iolsen Ha, well the problem was with CI. If this successfully takes care of that problem, we should be able to keep this up-to-date much more easily. |
6aa8406 to
c254245
Compare
| var fromPath = path.join(fromDirectory, subDir, 'bin', 'node'); | ||
| return mv(fromPath, targetFilename, function(err) { | ||
| var downloadedNodePath = path.join(fromDirectory, subDir, 'bin', 'node'); | ||
| var targetDir = path.dirname(targetFilename) |
There was a problem hiding this comment.
Super minor, but can we 🔥 this line? Seems like we're not using it anywhere in this file.
There was a problem hiding this comment.
Good catch! Missed some stuff moving junk around :)
|
@kuychaco This is now ready as well. Care to give it one more 👀 ? |
|
I think we should merge #562 first, and then I'll rebase this on top of it. |
This is how users will install via npm from the registry so it needs to be supported.
a16465d to
8fe3752
Compare
|
Does this solve anything of this (arm builds of atom)? atom/atom#7822 |
|
@NicoHood My understanding is that it could, but I don't know for sure. |
|
This should also fix (or make possible a fix for) atom/atom#5109! 🎉 |
|
When will this be integrated in Atom? Or where should I check? I just installed the latest stable version V1.8.0, but I don't even know if this is included in a beta or where to check. I'm having issues installing a package that uses ( |
|
Soon. We're working on build infrastructure to include this. You can look at the Atom releases page to see PRs included in each release. You can also do |
|
OK, thanks @iolsen. |
|
I'm getting issues installing linter-js-standard for Atom. It's been suggested that this update (with more recent node/npm versions) will fix the issue. Just curious when this will be updated in the release for Windows. Is it in the Windows beta channel yet? |
|
@ntomallen: although it's already on atom/atom master, this hasn't been released yet. It will, however, go out on the next beta release! 🚀 |
|
Fantastic! Will definitely be testing it then.
|

This PR updates the bundled version of Node that ships with apm to v4.4.5, the current LTS build. It also changes up the build process considerably to facilitate running with this version of Node on GitHub's CI.
BUNDLED_NODE_VERSIONfile.build/directory, similar to the one atom/atom uses, that includes dependencies that are necessary for bootstrapping the build — namely, for running thedownload-node.jsscript which grabs the executable for the bundled Node and puts it inbin/.script/install.sh/script/install.cmdscript that should be used to install apm when developing on it (instead of doing a plainnpm install).bin/apm[.cmd]script that should be used to ensure npm scripts run with the proper version of Node. This can be skipped if you're developing apm using the same version of Node as is listed inBUNDLED_NODE_VERSION.It's likely that we'll need to make some small tweaks to Atom's build steps to make this all work, and I'd like to run it on my own machine for a bit, but I wanted to get this out as early as possible to get some 👀 on it. One thing I'm particularly interested in people's opinion on is if we should stick to a LTS version of Node or if we should jump straight into Node v6.
Fixes #410
Fixes #481
Fixes #527
Fixes #457
Fixes #312
Fixes #319