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 install dificulties

    Scheduled Pinned Locked Moved Troubleshooting
    14 Posts 3 Posters 3.8k Views 3 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.
    • S Do not disturb
      sdetweil @Missingxtension
      last edited by sdetweil

      @missingxtension nice…

      i have worked with a couple other people that have had similar problems, and have opened an issue with node,
      https://github.com/nodejs/help/issues/3277

      as they are reporting 32 bit on an x86_64 system …
      then electron install gets all messed up…

      i fixed my installer to handle this problem…
      see https://github.com/sdetweil/MagicMirror_scripts

      rapid support (hours/days) support cycle from electron or node is unlikely… electron has over 1000 issues…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • MissingxtensionM Offline
        Missingxtension
        last edited by

        @sdetweil said in Electron install dificulties:

        i have worked with a couple other people that have had similar problems, and have opened an issue with node,

        I already went to your github script and no luck. I also had to sudo apt-get install sh for some weird reason and that got me a little further along.
        I do keep snapshots at key point and finally I ran your script again and that was what made it work. Although initially it just keep loading multiple MM instances.
        But that got sorted out now!!! I got a full magic mirror install.
        Thank you very much!! You give me some valuable information Mainly I know i am not crazy and you put my mind at ease. Well at least a little less crazy:face_with_raised_eyebrow:
        Ill try to post the screenshot of the multiple instances. Luckily I am handy with the alt+f4 keys.

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @Missingxtension
          last edited by

          @missingxtension said in Electron install dificulties:

          Although initially it just keep loading multiple MM instances.

          i would like to see that

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          MissingxtensionM 1 Reply Last reply Reply Quote 0
          • MissingxtensionM Offline
            Missingxtension @sdetweil
            last edited by Missingxtension

            @sdetweil
            https://ibb.co/2cQ8Cfy
            alt text

            1 Reply Last reply Reply Quote 0
            • lavolp3L Offline
              lavolp3 Module Developer
              last edited by

              @missingxtension said in Electron install dificulties:

              Having all kinds of install problems from the very beginning. squashing errors all left and right from different forums. But magicmirrors forum has been useless.
              I am sure everyone being able to register and post on this forum is quite capable of copy and paste commands from chromium. But the forum seems intent on not really helping anyone. They just say ohh suffer a little and read.

              Sorry but a very inappropriate rant.
              You are trying to run this on a virtual machine and are blaming this forum that it’s not working due to the incompatibility of electron with certain systems.
              Have you checked other posts on this forum?
              How long has it taken Sam to respond to you? And actually trying to help

              How to troubleshoot modules
              MMM-soccer v2, MMM-AVStock

              MissingxtensionM 1 Reply Last reply Reply Quote 0
              • MissingxtensionM Offline
                Missingxtension @lavolp3
                last edited by

                @lavolp3

                1. No! and yes! Started having problems on a pi4. But that was way too slow, and no snapshots. That is where the virtual machine came in. For trouble shooting and configuration. After all the hardware is not relevant to magicmirror. I have had a virtual windows xp (caps went out, 16bit drivers, sp2 breaks system) running for over 10 years on vmware no problems, the techs that calibrate and update the equipment its operating never even notice. Until it restarts to the vmware logo. The vm is so much faster, the limits of xp still apply like memory and core count.
                2. Yes, I am a certified forum stalker. Like most people who work on this kinds of projects. I always custom flash my routers, root my phones, and even have a z3x to save time. But I am a newbie to this
                3. Sam was incredibly fast. Its very much appreciated.
                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @Missingxtension
                  last edited by

                  @missingxtension so, you said you fixed the multiple instances issue… what did u do to fix that?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  MissingxtensionM 1 Reply Last reply Reply Quote 0
                  • MissingxtensionM Offline
                    Missingxtension @sdetweil
                    last edited by

                    @sdetweil

                    shutdown -r now
                    

                    I did a reboot. After that the menus are gone from the window manager, even for chromium. That seems to stop the multiple instances, otherwise it just keeps loading them over and over again.

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @Missingxtension
                      last edited by

                      @missingxtension can u do

                      pm2 status

                      and show the results

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      MissingxtensionM 1 Reply Last reply Reply Quote 0
                      • MissingxtensionM Offline
                        Missingxtension @sdetweil
                        last edited by Missingxtension

                        @sdetweil
                        https://ibb.co/YDkDZzn
                        alt text
                        After a restart the window decorations are gone ( I think they are still called that). Then only one instance starts.
                        While I was preparing this response, it eventually stopped loading instances.

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @Missingxtension
                          last edited by

                          @missingxtension the pm2 status column w the little curly cue is number of restarts.so pm2 thinks it failed…

                          can u do
                          pm2 stop all
                          pm2 logs --lines =100

                          and
                          grep start ~/MagicMirror/package.json

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          MissingxtensionM 1 Reply Last reply Reply Quote 0
                          • MissingxtensionM Offline
                            Missingxtension @sdetweil
                            last edited by Missingxtension

                            @sdetweil
                            stop all wasn’t necessary
                            I had already killed the MM instances. But I can reinstall MM from a fresh if you need me to.

                            https://pastebin.com/embed_js/Mq8en42t

                            marked as spam by akismet

                            grep output

                            	"start": "./run-start.sh $1",
                            

                            https://pastebin.com/3LwH3ZPv MM out log

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @Missingxtension
                              last edited by

                              @missingxtension so, pm2’s job is to start and keep running the processes it manages.

                              chromium is not supposed to ‘exit’, altho it does on 2nd thru nth, when it opens a page in an existing browser…

                              the question is why did the 1st instance end…

                              did u change the package,json after install?

                              do this

                              pm2 delete 0
                              

                              then run the fixuppm2 script from my scripts site… last entry
                              https://github.com/sdetweil/MagicMirror_scripts

                              this will recreate the pm2 entry

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • 1 / 1
                              • First post
                                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