• 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
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Electron not found

Scheduled Pinned Locked Moved Solved Troubleshooting
3 Posts 2 Posters 1.0k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    voxum
    last edited by voxum Dec 18, 2019, 10:25 PM Dec 18, 2019, 10:24 PM

    First magic mirror so bear with me. After having much trouble with the automatic installer

    bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
    

    I switched to the manual install method found on the MM2 git repo. During install I get the electron error stating there’s no version for arm6l. To remedy I ran

    npm install --arch=armv7l electron@2.0.0
    

    Which successfully installed electron. I then reran npm install inside the ~/MagicMirror folder. I got the Magic mirror installed successfully message and no errors, but MagicMirror will not run after npm start.
    If I try sh run-start.sh I get run-start.sh: 7: run-start.sh: electron: not found

    Any help would be appreciated, seems no tutorial I’ve found handles the electron not supporting armv6l device error.

    Device: Raspi 3 B+
    OS: Raspbian Stretch 2019-04-08
    Node: 10.18.0
    npm: 6.13.4

    S 1 Reply Last reply Dec 18, 2019, 10:31 PM Reply Quote 0
    • S Offline
      sdetweil @voxum
      last edited by sdetweil Dec 18, 2019, 10:32 PM Dec 18, 2019, 10:31 PM

      @voxum armv6 is falling out of favor…

      rename the MagicMirror folder out of the way, or delete it

      use my install script…
      see https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer
      (it will be in the next release)

      it will setup for serveronly and launch chrome to be the browser instead of electron

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      V 1 Reply Last reply Dec 18, 2019, 11:04 PM Reply Quote 0
      • V Offline
        voxum @sdetweil
        last edited by voxum Dec 19, 2019, 3:09 AM Dec 18, 2019, 11:04 PM

        @sdetweil
        Worked like a charm. Now to mess around with some additional features. Thanks so much!

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          1/3
          Last post
        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