I'm trying to install GitHub's Atom editor. I'm using Ubuntu (trusty 14.04 with LXDE) on my Chromebook (via Crouton). It has an ARM processor (not Intel or AMD) so I can't use the .deb because that's built for Intel architecture.

I've attempted to follow the instructions here but cannot seem to get it to compile. Using the Terminal, how can I compile Atom?

Update: The errors I am getting

Following these instructions, I can get to step 3 but when I type script/build I get the error:

/usr/bin/env: node: No such file or directory

I cloned atom into /home/username/atom if that helps.

Update 2

Thanks to the comments below I was able to start the build process. Unfortunately, I'm now getting the following errors:

gyp: name 'chromeos' is not defined while evaluating condition 'target_arch=="arm" and chromeos==1' in deps/breakpad/breakpad.gyp while loading dependencies of binding.gyp while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.8.11
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/henrywright/atom/build/node_modules/minidump
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok 
npm ERR! cb() never called!

Does anyone know how to solve these errors?

  • What errors do you get?
    – muru
    Jan 6, 2015 at 4:14
  • Related question: Installing Atom text editor on 32-bit Ubuntu, see this answer about how to easily install a prebuilt and up-to-date Debian package of Atom Text Editor from the webupd8team/atom PPA for Atom text editor.
    – karel
    Jan 6, 2015 at 6:45
  • @muru I've updated my question with the error I'm getting and the steps I took to get there. Hope you can help? Feb 23, 2015 at 11:41
  • 1
    It also says in the instructions for Ubuntu that you linked to in your question as follows: Make sure the command node is available after Node.js installation (some systems [e.g. Ubuntu] install it as nodejs).
    – karel
    Feb 23, 2015 at 11:49
  • 1
    @muru Please ping me in chat if/when you get around to posting an answer, so I can upvote it.
    – karel
    Feb 23, 2015 at 12:22


Browse other questions tagged or ask your own question.