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?
node
program in Debian-based systems is callednodejs
- see the second answer in the post linked above on how to make it be callednode
. – muru Feb 23 '15 at 11:44~/.gyp/include.gypi
? I'm a noob to using the terminal. – henrywright Feb 23 '15 at 12:18~
is your home folder). If it doesn't exist, I think you can create it:mkdir -p ~/.gyp
,gedit ~/.gyp/include.gypi
. – muru Feb 23 '15 at 12:29