Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Won't build on ARM / ubuntu 14.04 #3783

Closed

Description

@techhazard

While building the editor according to the instructions for ubuntu 14.04 on armhf, I get this error:

Node: v0.10.32
npm: v1.4.28
Installing build modules...
Installing apm...
npm WARN package.json [email protected] No repository field.

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: incorrect header check
    at Zlib._binding.onerror (zlib.js:295:17)

npm ERR! [email protected] install: `node ./script/download-node.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] install script.
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! System Linux 3.0.31-1759357
npm ERR! command "node" "/root/git/atom2/atom/build/node_modules/.bin/npm" "--userconfig=/root/git/atom2/atom/.npmrc" "install" "--quiet"
npm ERR! cwd /root/git/atom2/atom/apm
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

I am running all commands as root.'What am I missing?

Activity

  1. techhazard commented on Oct 10, 2014

    @techhazard
    Author

    also I've already seperately built apm successfully.
    Might I be able to use that instead?
    If so, how would I tell the build script to skip building apm?

  2. techhazard commented on Oct 12, 2014

    @techhazard
    Author

    As I'm guessing the x86 prebuilts are cross-compiled, it would be great to have some available for armhf 😁
    especially with the chromebooks and all getting used more and more.

  3. henrywright commented on Jan 6, 2015

    @henrywright

    I need this too. Wished I'd bought an Intel Chromebook, these ARM processors are troublesome :(

  4. pwaring commented on Feb 24, 2015

    @pwaring

    Would the contents of apm/npm-debug.log assist with fixing this bug? I was going to post it before realising that it was 1.3Mb in size.

  5. jbt commented on Feb 24, 2015

    @jbt

    [hmm I swear I commented this just now, before opening that issue on apm but it appears to have vanished. Maybe I never hit submit]

    As I mentioned in atom/apm#312 this looks to be happening because apm is trying to grab node v0.10.35, which doesn't distribute a prebuilt armv7l binary, and it's trying to grab http://nodejs.org/dist/v0.10.35/node-v0.10.35-linux-armv7l.tar.gz which is a 404 and is confusing zlib.

    I'm guessing the only options would be to switch to iojs (which does include armv6l/armv7l binaries, but could break many other things which I don't know about) or somehow get apm to download and build from source if it can't grab the binary (which would be horrible and messy obviously)

  6. thedaniel commented on Feb 24, 2015

    @thedaniel
    Contributor

    the only options would be to switch to iojs

    Atom-shell recently switched to io.js, and so did Atom as of https://github.com/atom/atom/releases/tag/v0.177.0

  7. thedaniel commented on Feb 24, 2015

    @thedaniel
    Contributor

    Ah, the node bundled with apm, of course.

  8. johnjelinek commented on May 22, 2015

    @johnjelinek

    Any updates on upgrading to iojs (and thus supporting arm) in download-node.js?

  9. thedaniel commented on May 28, 2015

    @thedaniel
    Contributor

    @johnjelinek we already use iojs, supporting arm is a lot more than that.

  10. JohnMurga commented on Jun 19, 2015

    @JohnMurga

    The initial Atom build errors are possible to work around ...
    On my RPi2 I built Node v0.10.35 separately and supplanted download-node.js.

    The problem is that later it'll try and download another blob for Electron, which currently doesn't build for ARM either (although there are versions of NW.JS that do).

    So it's possible to get to this point, before you are well and truly stuck :-(

    Deduping modules √
    Running "download-atom-shell" task
    >> Cannot find atom-shell-v0.22.3-linux-arm.zip in electron v0.22.3 release
    Aborted due to warnings.
    
  11. thedaniel commented on Jun 19, 2015

    @thedaniel
    Contributor

    electron/electron#366 (comment) if you'd really like to get cracking on this you can try to get Electron to build on ARM - and per the issue linked above to do that you have to get libchromiumcontent to build on ARM. @jlord has been doing some work in this area recently as well.

  12. jlord commented on Jul 9, 2015

    @jlord

    👋 I've been trying to get Atom up and running on ARM and created an issue with updates linked ☝️

    tl;dr it builds and launches but lots of errors.

  13. s-celles commented on Oct 29, 2015

    @s-celles

    +1 having Atom on my Raspberry Pi 2 will be great!

  14. lee-dohm commented on Apr 11, 2017

    @lee-dohm
    Contributor

    We don't support Atom on the Raspberry Pi. While we would love to support Atom on all possible platforms, our resources are finite so we have to draw a line somewhere. You can find out more information about Atom on ARM and links to other community efforts on #7822.

  15. curiousercreative commented on May 2, 2017

    @curiousercreative

    It's been announced on #7822, but just for those stumbling upon this, we have a community fork for Atom on ARM that is seemingly stable to build and install. If you find otherwise, please open an issue on the forked repo: https://github.com/hypersad/atom

  16. lock commented on Apr 2, 2018

    @lock

    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!

  17. locked and limited conversation to collaborators on Apr 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions