• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. linuxni
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
L
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 2
  • Posts 2
  • Groups 0

linuxni

@linuxni

0
Reputation
413
Profile views
2
Posts
0
Followers
0
Following
Joined Apr 5, 2018, 6:33 AM
Last Online Apr 10, 2018, 1:42 AM

linuxni Unfollow Follow

Latest posts made by linuxni

  • plz updated electron and spectron packages.

    First, I’m sorry.
    I can not speak English very well.
    It depends on google translator.

    I do not use Raspberry Pi, but I tried several things because I wanted to use MM.

    After installing ubuntu 16.04 on vmware workstation, it worked successfully after installing MM.
    And odrold-ux4 succeeded and succeeded in artik530.

    After finishing the practice, I tried to install MM on artik710s and I failed.

    The problem is that the artik710s is arm64, although it is not accurate because it does not have expertise.

    In this regard, I wrote here.
    https://forum.magicmirror.builders/topic/6926/mm-installation-error-by-electron-arm64

    With my short knowledge, I think it would be possible to change the package below.

    1. electron version
      The package has an arm64 package starting at 1.8 or higher.
    2. Spectron version
      The electron-chromedriver package is installed with the spectron 3.7.x version.
      The electron-chromedriver also has an arm64 package starting at 1.8 or higher.
      The electron-chromedriver 1.8 package is installed with the spectron 3.8.0 version.

    I tried.
    Remove the package-lock.json file
    The package.json file was modified.

    "spectron": "3.7.x", -> "spectron": "3.8.0"
     "electron": "^ 1.4.15", -> "electron": "1.8.4"
    

    And when I did npm install and npm start, I could see the black screen.

    I know this project is Raspberry Pi, but I hope to use the two updated packages mentioned above in the next version.

    Thank you.

    posted in Feature Requests
    L
    linuxni
    Apr 6, 2018, 6:34 PM
  • MM installation error by electron / arm64

    I’m sorry first.
    I do not speak English well.
    That’s why we use google translation.

    I first installed MM on the artik 530 and odroid ux4.
    The MM installation succeeded and worked well on these two devices.

    But I tried to install MM again in artik 710s, but I can not …

    In the same way, I installed ubuntu 16.4 server on VMware workstation and MM is working.

    I think the artik 710s is due to arm64.

    [root@artik MagicMirror]# grep . /etc/*-release
    /etc/lsb-release:DISTRIB_ID=Ubuntu
    /etc/lsb-release:DISTRIB_RELEASE=16.04
    /etc/lsb-release:DISTRIB_CODENAME=xenial
    /etc/lsb-release:DISTRIB_DESCRIPTION="Ubuntu 16.04.4 LTS"
    /etc/os-release:NAME="Ubuntu"
    /etc/os-release:VERSION="16.04.4 LTS (Xenial Xerus)"
    /etc/os-release:ID=ubuntu
    /etc/os-release:ID_LIKE=debian
    /etc/os-release:PRETTY_NAME="Ubuntu 16.04.4 LTS"
    /etc/os-release:VERSION_ID="16.04"
    /etc/os-release:HOME_URL="http://www.ubuntu.com/"
    /etc/os-release:SUPPORT_URL="http://help.ubuntu.com/"
    /etc/os-release:BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
    /etc/os-release:VERSION_CODENAME=xenial
    /etc/os-release:UBUNTU_CODENAME=xenial
    [root@artik MagicMirror]# uname -m
    aarch64
    [root@artik MagicMirror]# getconf LONG_BIT
    64
    [root@artik MagicMirror]# dpkg -s libc6 | grep Arch
    Architecture: arm64
    Multi-Arch: same
    [root@artik MagicMirror]# npm -v
    5.8.0
    [root@artik MagicMirror]# node -v
    v8.11.1
    
    [root@artik MagicMirror]# npm install
    
    > electron-chromedriver@1.7.1 install /root/MagicMirror/node_modules/spectron/node_modules/electron-chromedriver
    > node ./download-chromedriver.js
    
    /root/MagicMirror/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. (/root/MagicMirror/node_modules/nugget/index.js:169:61)
        at emitOne (events.js:116:13)
        at Request.emit (events.js:211:7)
        at Request.onRequestResponse (/root/MagicMirror/node_modules/request/request.js:1068:10)
        at emitOne (events.js:116:13)
        at ClientRequest.emit (events.js:211:7)
        at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:551:21)
        at HTTPParser.parserOnHeadersComplete (_http_common.js:115:23)
        at TLSSocket.socketOnData (_http_client.js:440:20)
        at emitOne (events.js:116:13)
    npm WARN grunt-stylelint@0.10.0 requires a peer of stylelint@^9.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.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2018-04-05T06_42_45_454Z-debug.log
    

    https://github.com/electron/electron/releases/tag/v1.7.0
    When I checked here, I could not find the arm64.

    My simple idea is that you do not have https://github.com/electron/electron/releases/download/v1.7.0/chromedriver-v1.7.0-linux-arm64.zip

    https://github.com/electron/electron/releases/tag/v1.8.0
    There is an arm64 file since version 1.8.

    I want to modify it to be installed with electron 1.8 or later version, but I do not know how.

    help me plz

    posted in Troubleshooting
    L
    linuxni
    Apr 5, 2018, 6:52 AM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy