question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not install on arm64

See original GitHub issue

Platform:

orangepi@orangepizeroplus2:~$ grep . /etc/*-release
/etc/armbian-image-release:# PLEASE DO NOT EDIT THIS FILE
/etc/armbian-image-release:BOARD=orangepizeroplus2-h5
/etc/armbian-image-release:BOARD_NAME="Orange Pi Zero Plus 2"
/etc/armbian-image-release:BOARDFAMILY=sun50iw2
/etc/armbian-image-release:VERSION=5.65
/etc/armbian-image-release:LINUXFAMILY=sunxi64
/etc/armbian-image-release:BRANCH=next
/etc/armbian-image-release:ARCH=arm64
/etc/armbian-image-release:IMAGE_TYPE=stable
/etc/armbian-image-release:BOARD_TYPE=conf
/etc/armbian-image-release:INITRD_ARCH=arm64

orangepi@orangepizeroplus2:~$ uname -m
aarch64
orangepi@orangepizeroplus2:~$ getconf LONG_BIT
64
orangepi@orangepizeroplus2:~$ dpkg -s libc6 | grep Arch
Architecture: arm64
Multi-Arch: same
orangepi@orangepizeroplus2:~$ npm -v
6.4.1
orangepi@orangepizeroplus2:~$ node -v
v10.13.0
orangepi@orangepizeroplus2:~$ 

Node Version: v10.13.0

MagicMirror Version: 2.5.0, master

Description: Unable to install MM on the arm64 platform, npm install fails with: Error: Failed to find Electron v1.7.0 for linux-arm64 at https://github.com/electron/electron/releases/download/v1.7.0/chromedriver-v1.7.0-linux-arm64.zip

Same problems: https://forum.magicmirror.builders/topic/6377/error-on-clean-installation-using-npm-install-electron-chromedriver-1-7-1 https://forum.magicmirror.builders/topic/8786/rpi3-npm-install-failed-to-find-electron-v1-7-0-for-linux-arm64 https://forum.magicmirror.builders/topic/6926/mm-installation-error-by-electron-arm64/2

Steps to Reproduce: npm install

orangepi@orangepizeroplus2:~/MagicMirror2$ npm install
npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.

> electron-chromedriver@1.7.1 install /home/orangepi/MagicMirror2/node_modules/spectron/node_modules/electron-chromedriver
> node ./download-chromedriver.js

/home/orangepi/MagicMirror2/node_modules/spectron/node_modules/electron-chromedriver/download-chromedriver.js:16
  if (error != null) throw error
                     ^

Error: Failed to find Electron v1.7.0 for linux-arm64 at https://github.com/electron/electron/releases/download/v1.7.0/chromedriver-v1.7.0-linux-arm64.zip
    at Request.<anonymous> (/home/orangepi/MagicMirror2/node_modules/nugget/index.js:169:61)
    at Request.emit (events.js:182:13)
    at Request.onRequestResponse (/home/orangepi/MagicMirror2/node_modules/request/request.js:1068:10)
    at ClientRequest.emit (events.js:182:13)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:555:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
    at TLSSocket.socketOnData (_http_client.js:441:20)
    at TLSSocket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:264:11)
npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN acorn-jsx@5.0.0 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron-chromedriver@1.7.1 install: `node ./download-chromedriver.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the electron-chromedriver@1.7.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Full log: http://paste.ubuntu.com/p/wkVdMYXqNQ/

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
gkreitzcommented, Nov 24, 2018

A cleaner way to fix the build is to simply bump the dependency spectron to ^4.0.0 (which seems to be the version matching the current electron dependency anyway, according to spectron’s readme.md)

2reactions
vvzvladcommented, Nov 11, 2018

I see link. As we can see, the electron for arm64 exists: https://github.com/electron/electron/releases

The problem is that there is no version 1.7.0 for arm64. https://github.com/electron/electron/releases/tag/v1.7.0

In any case, there is a problem in that on a certain platform the magic mirror cannot be installed and launched — my words confirm three topics on the forum. It is necessary to somehow solve the problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I cannot install C++ 2022 arm64 redistributable
I cannot install C++ 2022 arm64 redistributable ... Redistributables works just fine but when installing arm64 I receive the following error.
Read more >
Why can't I install 'arm64' packages on an 'amd64' system ...
$ sudo apt-get install gcc-6-base:armhf Selecting previously unselected package gcc-6-base:armhf. (Reading database ... 219445 files and ...
Read more >
Unable to install arm64 packages on Apple Silicon #2434
Running the command with an arm64 shell using Terminal (natively, with or without the arch -arm64 ) produces the same error message. My...
Read more >
ARM64 .deb packages don't install on Ubuntu - GitLab
Fix may be as simple as passing arm64 as the architecture to fpm .
Read more >
Error - R 4.2.2 for macOS (ARM64) can't be installed on this ...
I had the same issue. My mac has the Intel processor and I downloaded the package for Apple Silicon arm64, which is why...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found