You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Hi 👋 This issue is an informational issue about the state of running Atom on computers with ARM processors (like those in Raspberry Pis and some Chromebooks).
Atom does not effectively work on ARM (July 9th, 2015)
It does, however, now build and launch on ARM (see image above from ARM Chromebook). This is due to the fact that Electron, as of v0.29.0 now builds an ARM compatible distribution ✨ (as an aside, this is really, really great news for future applications and tinkerers). But the latest versions of Electron use a newer version of Chrome and have not been tested against Atom which currently usesv.22.3 of Electron (at this time Electron was still named Atom-Shell). Typing and clicking don't work at all and/or trigger lots of exception notifications and render the application pretty useless. This could be because of the new Electron compatibility issues, but we can't be quite sure as we don't really know yet what those issues are.
What will it take to get there?
These errors will have to be sorted out and fixed. This is not on any roadmap right now and could be a lot of work (patches welcome! 🙌). Getting Atom upgraded to the latest Electron will help answer this question but it's not there just yet (#6877).
It's worth noting that even if Atom were on the latest Electron, you will still need to build it yourself because it requires some other adjustments (see below).
Want to try it out?
Maybe it will just work on your machine! I have a gist with the steps to build. It involves using forks of both apm (Atom's package manager) and Atom so that you can build apm with io.js instead of Node.js since the later does not support ARM.
Reacted by Alex Pop, EyesOfThings, April Merrill, rehtlaw, doctor2v and Vladislav Bauer
Reacted by İnanç Yiğit and April Merrill
Reacted by Gokhan Boranalp, April Merrill, superwhiskers and Vladislav Bauer
@jacobrosenthal I started to try, but got hung up on getting apm going. I have the fork of it so that it can use an ARM version of node and it had been working, but I started my system over from scratch and now it's not... I was thinking I would go ahead and make a branch to try and get atom/apm on the latest version of node, 4.0.0, which now has an ARM version.
I think that might be tough. My understanding is Node 4 is nan2 and electron v0.30.6 was purposely selected as the last nan1 release to dodge nan2 upgrades.
I had a bit of trouble on a couple modules but at least one was resolved and then the other maybe disappeared (ha).
I just built Atom from this branch. I then move the apm I built to atom/apm/node_modules/ and rename it atom-package-manager. Then I run script/build within /atom.
This works... Atom launches and there aren't errors, only opening a file as large (which is not in fact large) as package.json freezes the app basically and you get an application not responding dialog.
I think I tried on 4.1.1 first and spellcheck and symbols failed, but when I tried again on 4.1.2 everything built, and it loads but to a chrome dev tools window with no tabs that I cant type into and in the console:
jacob@gaia:~/Downloads$ /tmp/atom-build/Atom/atom
[11304:1013/052008:ERROR:browser_main_loop.cc(173)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[11304:1013/052012:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[11304:1013/052012:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[11304:1013/052012:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[11304:1013/052012:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[11332:1013/052012:INFO:renderer_main.cc(200)] Renderer process started
App load time: 3024ms
[11350:1013/052016:INFO:renderer_main.cc(200)] Renderer process started
[11304:1013/052016:INFO:CONSOLE(56)] "Error: Cannot find module '../build/Release/keyboard-layout-observer.node'
at Module._resolveFilename (module.js:334:15)
at Function.Module._resolveFilename (/tmp/atom-build/Atom/resources/app.asar/src/module-cache.js:383:52)
at Function.Module._load (module.js:284:25)
at Module.require (module.js:363:17)
at require (module.js:382:17)
at Object.<anonymous> (/tmp/atom-build/Atom/resources/app.asar/node_modules/atom-keymap/node_modules/keyboard-layout/lib/keyboard-layout.js:6:28)
at Object.<anonymous> (/tmp/atom-build/Atom/resources/app.asar/node_modules/atom-keymap/node_modules/keyboard-layout/lib/keyboard-layout.js:50:4)
at Module._compile (module.js:428:26)
at Object.defineProperty.value [as .js] (/tmp/atom-build/Atom/resources/app.asar/src/compile-cache.js:169:21)
at Module.load (module.js:353:32)", source: file:///tmp/atom-build/Atom/resources/app.asar/static/index.js (56)
I looked at the current mac installer and indeed, app.asar.unpacked/node_modules/atom-keymap doesnt exist
Atom Version: 1.2.0-dev-6495f1a System: Debian GNU/Linux Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Cannot read property 'replace' of undefined
At /home/jacob/Downloads/atom/buildir/Atom/resources/app.asar/src/lines-tile-component.js:265
TypeError: Cannot read property 'replace' of undefined
at LinesTileComponent.module.exports.LinesTileComponent.setLineInnerNodes (/home/jacob/Downloads/atom/buildir/Atom/resources/app.asar/src/lines-tile-component.js:265:72)
at LinesTileComponent.module.exports.LinesTileComponent.buildLineNode (/home/jacob/Downloads/atom/buildir/Atom/resources/app.asar/src/lines-tile-component.js:198:14)
at LinesTileComponent.module.exports.LinesTileComponent.updateLineNodes (/home/jacob/Downloads/atom/buildir/Atom/resources/app.asar/src/lines-tile-component.js:141:34)
at LinesTileComponent.module.exports.LinesTileComponent.updateSync (/home/jacob/Downloads/atom/buildir/Atom/resources/app.asar/src/lines-tile-component.js:98:12)
at LinesComponent.module.exports.TiledComponent.updateTileNodes (/home/jacob/Downloads/atom/buildir/Atom/resources/app.asar/src/tiled-component.js:67:19)
at LinesComponent.module.exports.TiledComponent.updateSync (/home/jacob/Downloads/atom/buildir/Atom/resources/app.asar/src/tiled-component.js:30:12)
at LinesYardstick.module.exports.LinesYardstick.prepareScreenRowsForMeasurement (/home/jacob/Downloads/atom/buildir/Atom/resources/app.asar/src/lines-yardstick.js:26:37)
at TextEditorPresenter.module.exports.TextEditorPresenter.getState (/home/jacob/Downloads/atom/buildir/Atom/resources/app.asar/src/text-editor-presenter.js:183:27)
at TextEditorComponent.module.exports.TextEditorComponent.updateSync (/home/jacob/Downloads/atom/buildir/Atom/resources/app.asar/src/text-editor-component.js:199:38)
at /home/jacob/Downloads/atom/buildir/Atom/resources/app.asar/src/text-editor-component.js:302:28
at ViewRegistry.module.exports.ViewRegistry.performDocumentUpdate (/home/jacob/Downloads/atom/buildir/Atom/resources/app.asar/src/view-registry.js:177:9)
at /home/jacob/Downloads/atom/buildir/Atom/resources/app.asar/src/view-registry.js:3:61
It seems like the GrammarRegistry isn't able to find a scope (scopeForId) and, therefore, it returns null. Not sure what the exact issue could be there, but it seems to point out towards first-mate not working correctly.
I just tried the build aproach described by jlord with atom 1.4.0-beta3 and it still works.
(npm test showed no errors for the atom and the apm directory, and opening some files worked using odroid-xu4 with ubuntu preinstalled emmc card)
I had to tweak the apm start script to remove the harmony-collectins flag tough...
UPDATE While atom started over ssh -Y and looked promissing in the beginning, It is crashing and lacking responisitivity. This may be due to ssh -Y. I plan to try with a monitor....
pi@raspberrypi3:~/hackallthethings/atom$ script/build
Node: v0.10.25
npm: v1.4.21
Installing build modules...
=> Took 731845ms.
Installing apm...
download not found: http://nodejs.org/dist/v0.10.40/node-v0.10.40-linux-arm.tar.gz
npm ERR! Linux 4.1.18-v7+
npm ERR! argv "node""/home/pi/hackallthethings/atom/build/node_modules/.bin/npm""--userconfig=/home/pi/hackallthethings/atom/build/.npmrc""--target=0.10.35""install""--loglevel""error"
npm ERR! node v0.10.25
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE
npm ERR![email protected] install: `node ./script/download-node.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node ./script/download-node.js'.
npm ERR! This is most likely a problem with the atom-package-manager package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./script/download-node.js
npm ERR! You can get their info via:
npm ERR! npm owner ls atom-package-manager
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/hackallthethings/atom/apm/npm-debug.log
It seems like a download is missing. Any ideas how to fix this?
@hypersad I was able to build your repo on my Chromebook, running mksnapshot on an x86_64 system. I can open the Atom editor by executing ./out/atom-1.23.2-armv7l/atom. Yay!
@hypersad Thanks for all the time an effort that you dedicated to this and make it a reality. I hope that the Atom team adds support for the armv7l platform soon. In the meantime, @nonnymoose@danieltroger there is an alternative out there that is easy to compile on armv7l.
The Atom team does not support armv7l platform, and @hypersad your repo has gone.
Where can I start from? I'm working on an Odroid XU4 running ArchLinux.
Thanks!
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
jlord commentedon Jul 9, 2015
🔗 Cross linking to relevant issues:
zohead commentedon Jul 22, 2015
@jlord Are you using Samsung ARM Chromebook?
jlord commentedon Jul 23, 2015
@zohead No, I have an 11" Asus C201.
henrywright commentedon Aug 25, 2015
@zohead I am.
jacobrosenthal commentedon Sep 10, 2015
Anyone tried again since #7877 landed? I dont have my arm box here
jlord commentedon Sep 10, 2015
@jacobrosenthal I started to try, but got hung up on getting
apmgoing. I have the fork of it so that it can use an ARM version of node and it had been working, but I started my system over from scratch and now it's not... I was thinking I would go ahead and make a branch to try and getatom/apmon the latest version of node,4.0.0, which now has an ARM version.jacobrosenthal commentedon Sep 11, 2015
I think that might be tough. My understanding is Node 4 is nan2 and electron v0.30.6 was purposely selected as the last nan1 release to dodge nan2 upgrades.
jlord commentedon Sep 11, 2015
@jacobrosenthal I just built
apmwith this branch: atom/apm#430I had a bit of trouble on a couple modules but at least one was resolved and then the other maybe disappeared (ha).
I just built Atom from this branch. I then move the
apmI built toatom/apm/node_modules/and rename itatom-package-manager. Then I runscript/buildwithin/atom.This works... Atom launches and there aren't errors, only opening a file as large (which is not in fact large) as
package.jsonfreezes the app basically and you get an application not responding dialog.jacobrosenthal commentedon Oct 13, 2015
Took a shot today, patching out the apm and electron download
https://github.com/jacobrosenthal/apm/tree/arm
https://github.com/jacobrosenthal/atom/tree/arm
I think I tried on 4.1.1 first and spellcheck and symbols failed, but when I tried again on 4.1.2 everything built, and it loads but to a chrome dev tools window with no tabs that I cant type into and in the console:
I looked at the current mac installer and indeed, app.asar.unpacked/node_modules/atom-keymap doesnt exist
jacobrosenthal commentedon Oct 17, 2015
apm merged node 4.2.1 support into master so trying again
Node: v4.2.1
npm: v2.14.7
Same process as @jlord above, but to repeat
It builds and 'works' but continuously spawns
Atom Version: 1.2.0-dev-6495f1a
System: Debian GNU/Linux
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Cannot read property 'replace' of undefined
Commands
Config
{}Installed Packages
winstliu commentedon Oct 17, 2015
/cc @as-cii
as-cii commentedon Oct 20, 2015
It seems like the
GrammarRegistryisn't able to find a scope (scopeForId) and, therefore, it returnsnull. Not sure what the exact issue could be there, but it seems to point out towardsfirst-matenot working correctly.franzhaas commentedon Dec 25, 2015
I just tried the build aproach described by jlord with atom 1.4.0-beta3 and it still works.
(npm test showed no errors for the atom and the apm directory, and opening some files worked using odroid-xu4 with ubuntu preinstalled emmc card)
I had to tweak the apm start script to remove the harmony-collectins flag tough...
UPDATE While atom started over ssh -Y and looked promissing in the beginning, It is crashing and lacking responisitivity. This may be due to ssh -Y. I plan to try with a monitor....
thanks,
Franz
NicoHood commentedon Feb 29, 2016
I tried to compile atom on raspberry pi 3 with the new ubuntu mate build for pi3. But it failed:
It seems like a download is missing. Any ideas how to fix this?
95 remaining items
mathuin commentedon Dec 31, 2017
@hypersad I was able to build your repo on my Chromebook, running
mksnapshoton an x86_64 system. I can open the Atom editor by executing./out/atom-1.23.2-armv7l/atom. Yay!rdagger commentedon Jan 1, 2018
@hypersad Very cool work! How's the performance?
nonnymoose commentedon Jan 4, 2018
@hypersad Build on my pi failed :(
I created the issue hypersad/atom-armv7l#1
danieltroger commentedon May 13, 2018
danieltroger commentedon May 13, 2018
acruzpr commentedon May 19, 2018
@hypersad Thanks for all the time an effort that you dedicated to this and make it a reality. I hope that the Atom team adds support for the
armv7lplatform soon. In the meantime, @nonnymoose @danieltroger there is an alternative out there that is easy to compile onarmv7l.VA3SFA commentedon Jul 2, 2018
I've just tried to build Atom on the Raspberry Pi but I still get the following error:
Even though I'm using electron 2.0.1, what else do I need to be able to build Atom on armv71?
Thanks!
gounthar commentedon Oct 5, 2018
The Atom team does not support
armv7lplatform, and @hypersad your repo has gone.Where can I start from? I'm working on an Odroid XU4 running ArchLinux.
Thanks!
lock commentedon Jun 14, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!