• 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 failed to install correctly

Scheduled Pinned Locked Moved Troubleshooting
9 Posts 5 Posters 11.0k Views 5 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.
  • H Offline
    HerrB92 @spikeboybebop
    last edited by Aug 27, 2017, 7:30 PM

    @spikeboybebop Hi, maybe my solution posted here may help you: https://forum.magicmirror.builders/topic/2659/black-blank-screen/11

    The main problem (AFAIK) is the need to install and activate a newer version of node.js, as the installation of electron fails with V 6.x.

    The automatic installer only tests on node.js V5.x, so V6.x seems to be fine, but you need node.js V7.x, at least.

    Regards,
    HerrB92

    M 1 Reply Last reply Aug 27, 2017, 7:57 PM Reply Quote 0
    • M Offline
      michaelb42 @HerrB92
      last edited by Aug 27, 2017, 7:57 PM

      @HerrB92 Hm, I just reinstalled stretch on a blank SD and then installed MM using the usual one-liner. Installer updated node to 6.x as usual. Works like a charm.

      pi@mirror:~/MagicMirror $ node -v
      v6.11.2

      Regards,
      michaelb

      H 1 Reply Last reply Aug 27, 2017, 8:19 PM Reply Quote 0
      • H Offline
        HerrB92 @michaelb42
        last edited by Aug 27, 2017, 8:19 PM

        @michaelb42 Mmmh, good to know. Maybe something has been fixed in node.js V6.x or the ZIP package, which was the actual problem on installing electron (and from there it went further down).

        The indicator was that in the electron folder no path.txt file was created (which triggers the above error message).

        It worked like a charm with V7.x (I even tested it from Raspian scratch). Unfortunately, I have no idea, why the installation result differs that much… ;-)

        Regards,
        HerrB

        1 Reply Last reply Reply Quote 0
        • S Offline
          spikeboybebop
          last edited by Aug 31, 2017, 9:40 PM

          Got it to work! I think updating the node is what worked as it was still in version 6. when I did npm install afterwords it added the electron file. I could have sworn I did that before and it didn’t work so maybe it was on my end or the updated node made the difference.

          MM seems to work except for the weather part which initially just showed a thermostat but now is completely missing, everything else is working. shouldn’t be too difficult to figure out that issuer.

          Thanks for all the help and speedy response!

          M 1 Reply Last reply Aug 31, 2017, 9:50 PM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @spikeboybebop
            last edited by Aug 31, 2017, 9:50 PM

            @spikeboybebop said in Electron failed to install correctly:

            MM seems to work except for the weather

            Weather won’t work without an API key. See the README for that module for instructions on where to go to acquire said API key. Then, enter the API key in the appropriate place in the config entry for that module.

            Create a working config
            How to add modules

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