• 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-rebuild and MagicMirror v2.18 (and more)

Scheduled Pinned Locked Moved Development
40 Posts 16 Posters 19.1k Views 21 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 Offline
    sdetweil @susl
    last edited by Jan 10, 2022, 11:11 PM

    @susl you can use n to install or select different versions of node (and npm)
    to install n
    sudo npm install n -g
    then to install or use a version of node
    n 16

    to switch

    n

    the select from the list

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    S 1 Reply Last reply Jan 10, 2022, 11:38 PM Reply Quote 0
    • S Offline
      susl @sdetweil
      last edited by Jan 10, 2022, 11:38 PM

      @sdetweil
      Thanks a lot. I works now!

      1 Reply Last reply Reply Quote 0
      • C Offline
        cowboysdude Module Developer
        last edited by Jan 11, 2022, 2:26 AM

        @bugsounet Thank you for this!! It works like a charm ;)

        1 Reply Last reply Reply Quote 0
        • S Offline
          selyjohns
          last edited by Jan 19, 2022, 6:14 PM

          Wow, perfect ! Thank you so much !

          1 Reply Last reply Reply Quote 0
          • M Offline
            michael5r Module Developer
            last edited by Mar 16, 2022, 1:57 PM

            Thanks for doing this - much appreciated!

            B 1 Reply Last reply Mar 16, 2022, 2:36 PM Reply Quote 0
            • B Offline
              bugsounet Banned @michael5r
              last edited by Mar 16, 2022, 2:36 PM

              @michael5r with pleasure ;l

              1 Reply Last reply Reply Quote 0
              • S Offline
                selyjohns
                last edited by Apr 2, 2022, 11:44 AM

                Hi @bugsounet
                Same problem after update to 2.19 :(

                During the update, i needed to force because a log say the package-lock.json has been modified. Maybe my error.

                Trying to reproduce the procedure, but

                pi@MagicMirror:~/MagicMirror/modules/MMM-PIR-Sensor $ ./node_modules/.bin/MagicMirror-rebuild
                ⠋ Searching dependency tree
                An unhandled error occurred inside electron-rebuild
                Could not detect abi for version 17.2.0 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron
                
                Error: Could not detect abi for version 17.2.0 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron
                    at Object.getAbi (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/node-abi/index.js:39:9)
                    at new Rebuilder (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/magicmirror-rebuild/build/rebuild.js:100:48)
                    at rebuildWithOptions (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/magicmirror-rebuild/build/rebuild.js:249:23)
                    at doRebuild (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/magicmirror-rebuild/build/rebuild.js:272:16)
                    at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/magicmirror-rebuild/build/cli.js:115:45
                pi@MagicMirror:~/MagicMirror/modules/MMM-PIR-Sensor $
                
                

                Did you know how to solve this ?

                B T 2 Replies Last reply Apr 2, 2022, 11:54 AM Reply Quote 0
                • B Offline
                  bugsounet Banned @selyjohns
                  last edited by bugsounet Apr 2, 2022, 12:06 PM Apr 2, 2022, 11:54 AM

                  @selyjohns

                  MMM-PIR-Sensor state is :
                  This repository has been archived by the owner. It is now read-only.

                  I will not doing a patch on every update for this @paviro module

                  Just use another maintened pir module

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    selyjohns
                    last edited by Apr 2, 2022, 12:10 PM

                    @bugsounet said in electron-rebuild and MagicMirror v2.18 (and more):

                    MMM-PIR-Sensor state is :
                    This repository has been archived by the owner. It is now read-only.
                    I will not doing a patch on every update for this @paviro module
                    Just use another maintened pir module

                    Thank you for this quick reply.
                    I see, so no solution for this update…Any idea of equivalent module to replace MMM-PIR-Sensor ?

                    B 1 Reply Last reply Apr 2, 2022, 12:11 PM Reply Quote 0
                    • B Offline
                      bugsounet Banned @selyjohns
                      last edited by Apr 2, 2022, 12:11 PM

                      @selyjohns I done NO ads in this forum, sorry

                      1 Reply Last reply Reply Quote 0
                      • S selyjohns referenced this topic on Apr 2, 2022, 12:24 PM
                      • 1
                      • 2
                      • 3
                      • 4
                      • 3 / 4
                      • 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