• 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 Install Error - Electron not found

Scheduled Pinned Locked Moved Solved Troubleshooting
18 Posts 3 Posters 3.1k 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.
  • C Offline
    CLLA1972
    last edited by Oct 16, 2022, 9:00 AM

    Hi!

    Just did a MM-upgrade and after that I have problems to get MM started. I attach the error messages.

    Thanks !! Image.JPG

    S 1 Reply Last reply Oct 16, 2022, 11:34 AM Reply Quote 0
    • S Away
      sdetweil @CLLA1972
      last edited by sdetweil Oct 18, 2022, 1:12 PM Oct 18, 2022, 1:11 PM

      @CLLA1972 I don’t know

      make a backup

      see my https://github.com/sdetweil/MagicMirror-backup-restore

      then rename the MagicMirror folder out of the way, and run my install script. see if we can get running
      see
      https://github.com/sdetweil/MagicMirror_scripts

      if so, then run the restore to put back all the modules and config in the new mm folder created by install

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      C 1 Reply Last reply Oct 19, 2022, 12:44 PM Reply Quote 0
      • S Away
        sdetweil @CLLA1972
        last edited by Oct 16, 2022, 11:34 AM

        @CLLA1972 yes, looks like another fun npm install problem

        do

        cd ~/MagicMirror
        sudo rm -rf node_modules
        rm package-lock.json
        npm install --omit=dev
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        C 1 Reply Last reply Oct 17, 2022, 2:16 PM Reply Quote 0
        • C Offline
          CLLA1972 @sdetweil
          last edited by Oct 17, 2022, 2:16 PM

          @sdetweil Thanks so much for the support. Still not “there yet”. I got the following error message. Image.JPG

          Again, THANKS !!!

          S 1 Reply Last reply Oct 17, 2022, 2:29 PM Reply Quote 1
          • S Away
            sdetweil @CLLA1972
            last edited by Oct 17, 2022, 2:29 PM

            @CLLA1972 can u do

            uname -a

            is this a pi0?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 2 Replies Last reply Oct 17, 2022, 2:40 PM Reply Quote 0
            • C Offline
              CLLA1972 @sdetweil
              last edited by Oct 17, 2022, 2:40 PM

              @sdetweil Hi. I am using a PI3B+ /Thanks.

              S 1 Reply Last reply Oct 17, 2022, 2:42 PM Reply Quote 1
              • S Away
                sdetweil @CLLA1972
                last edited by Oct 17, 2022, 2:42 PM

                @CLLA1972

                ok, troublesome

                cd ~/MagicMirror
                rm -rf node_modules/electron
                npm install electron@19.0.15
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                C 1 Reply Last reply Oct 17, 2022, 2:45 PM Reply Quote 0
                • C Offline
                  CLLA1972 @sdetweil
                  last edited by Oct 17, 2022, 2:43 PM

                  @sdetweil Image.JPG

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    CLLA1972 @sdetweil
                    last edited by Oct 17, 2022, 2:45 PM

                    @sdetweil Here the result.

                    AA.JPG

                    S 2 Replies Last reply Oct 17, 2022, 3:30 PM Reply Quote 0
                    • S Away
                      sdetweil @CLLA1972
                      last edited by sdetweil Oct 17, 2022, 3:31 PM Oct 17, 2022, 3:30 PM

                      @CLLA1972
                      show output of node -v

                      run my upgrade script with force instead of apply (as u are on the latest release)

                      bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • S Away
                        sdetweil @CLLA1972
                        last edited by sdetweil Oct 18, 2022, 1:58 AM Oct 17, 2022, 5:37 PM

                        @CLLA1972 ok, I don’t get what is going on, but

                        cd ~/MagicMirror
                        rm -rf node_modules/env-paths
                        npm  install  electron@19.0.15
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        C 1 Reply Last reply Oct 17, 2022, 8:27 PM Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        1 / 2
                        • First post
                          1/18
                          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