OK, attempting to build Atom on Debian ‘Testing’ 64-bit, all dependencies and versions satisfied, and I have done the configuration as advised in the README.md for Linux.
At first I got an error that the command ‘node’ was not found, and this advice:
[quote]/usr/bin/env: node: No such file or directory
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
So I read the README.Debian:
[quote]nodejs for Debian
The global search path for modules is
Future packages of node modules will use that directory,
so it should be used wisely.
Node looks for modules in ./node_modules directory first;
please read node#modules documentation carefully for more information.
Node does not look for modules in /usr/local/lib/node_modules,
where npm put them.
Please read npm-link(1) of npm package, to understand how to properly
use npm-installed modules in a project.
Note that require.paths is not supported in future node versions.
See also node(1) for more information about NODE_PATH.
The upstream name for the Node.js interpreter command is “node”.
In Debian the interpreter command has been changed to “nodejs”.
This was done to prevent a namespace collision: other commands use
the same name in their upstreams, such as ax25-node from the "node"
Scripts calling Node.js as a shell command must be changed to instead
use the “nodejs” command.[/quote]
Ok, so instead of doing that, I just symlinked ‘/usr/bin/nodejs’ to ‘/usr/bin/node’ to save time editing all the build scripts.