• 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.

Installing MMM-PIR-Sensor

Scheduled Pinned Locked Moved Unsolved Troubleshooting
2 Posts 2 Posters 422 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.
  • N Offline
    N6NG
    last edited by Jun 7, 2022, 9:35 PM

    Tried to install MMM_PIR-Sensor and this is what I got:
    So I updated node-abi and it didn’t change anything.

    node_modules/.bin/electron-rebuild -e …/…/node_modules/electron

    ⠋ 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:36:9)
    at new Rebuilder (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:126:48)
    at rebuildWithOptions (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:404:23)
    at Object.doRebuild [as rebuild] (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:427:16)
    at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/cli.js:124:33
    at Generator.next ()
    at fulfilled (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/cli.js:6:58)
    npm ERR! code 255
    npm ERR! path /home/pi/MagicMirror/modules/MMM-PIR-Sensor
    npm ERR! command failed
    npm ERR! command sh -c node_modules/.bin/electron-rebuild -e …/…/node_modules/electron

    npm ERR! A complete log of this run can be found in:
    npm ERR! /home/pi/.npm/_logs/2022-06-07T18_39_56_149Z-debug-0.log
    pi@raspberrypi:~/MagicMirror/modules/MMM-PIR-Sensor $ npm update node-abi

    Any suggestions?
    Dennis

    S 1 Reply Last reply Jun 8, 2022, 12:01 AM Reply Quote 0
    • S Offline
      sdetweil @N6NG
      last edited by Jun 8, 2022, 12:01 AM

      @N6NG really old code, archived. maybe this will help
      https://forum.magicmirror.builders/topic/16681/mmm-moduletogglebutton-install-error/2?_=1654646189462

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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