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.

    Error on rebuilding MM

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 335 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.
    • C Offline
      coolnine98
      last edited by

      I get error on rebuilding MM while installing EXT-Detector.
      Here is Error:

      ool@pine64:~/MagicMirror/modules$ git clone https://github.com/bugsounet/EXT-Detector
      Cloning into ‘EXT-Detector’…
      remote: Enumerating objects: 1431, done.
      remote: Counting objects: 100% (580/580), done.
      remote: Compressing objects: 100% (304/304), done.
      remote: Total 1431 (delta 393), reused 343 (delta 274), pack-reused 851
      Receiving objects: 100% (1431/1431), 12.99 MiB | 1.89 MiB/s, done.
      Resolving deltas: 100% (889/889), done.
      cool@pine64:~/MagicMirror/modules$ cd EXT-Detector
      cool@pine64:~/MagicMirror/modules/EXT-Detector$ npm install
      npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs

      EXT-Detector@2.6.1 preinstall
      installer/preinstall.sh -d ‘libmagic-dev libatlas-base-dev sox libsox-fmt-all build-essential’

      Welcome to EXT-Detector v2.6.1

      No root checking…
      Checking EXT-Detector: cool/cool
      Checking MagicMirror: cool/cool

      Checking OS…
      OS Detected: linux-gnu (ubuntu 22.04 aarch64)

      Checking all dependencies…
      All Dependencies needed are installed !

      EXT-Detector@2.6.1 postinstall
      installer/postinstall.sh -r -m -b

      Prepare snowboy library…
      Done

      Minify Main code…
      Found: 7 files to minify

      Process File: …/EXT-Detector.js
      Process File: …/node_helper.js
      Process File: …/components/lib/node/index.js
      Process File: …/components/visual.js
      Process File: …/components/snowboy.js
      Process File: …/components/porcupine.js
      Process File: …/components/lpcm16.js
      Done

      Rebuild MagicMirror…
      ✖ Rebuild Failed

      An unhandled error occurred inside electron-rebuild
      Could not detect abi for version 31.1.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 31.1.0 and runtime electron. Updating “node-abi” might help solve this issue if it is a new release of electron
      at Object.getAbi (/home/cool/MagicMirror/modules/EXT-Detector/node_modules/node-abi/index.js:39:9)
      at get ABI (/home/cool/MagicMirror/modules/EXT-Detector/node_modules/@electron/rebuild/lib/rebuild.js:89:39)
      at PrebuildInstall.prebuiltModuleExists (/home/cool/MagicMirror/modules/EXT-Detector/node_modules/@electron/rebuild/lib/module-type/prebuild-install.js:59:179)
      at ModuleRebuilder.prebuildInstallNativeModuleExists (/home/cool/MagicMirror/modules/EXT-Detector/node_modules/@electron/rebuild/lib/module-rebuilder.js:70:37)
      at Rebuilder.rebuildModuleAt (/home/cool/MagicMirror/modules/EXT-Detector/node_modules/@electron/rebuild/lib/rebuild.js:143:35)
      at async Rebuilder.rebuild (/home/cool/MagicMirror/modules/EXT-Detector/node_modules/@electron/rebuild/lib/rebuild.js:115:17)
      at async /home/cool/MagicMirror/modules/EXT-Detector/node_modules/@electron/rebuild/lib/cli.js:159:9
      Rebuild Failed
      npm error code 255
      npm error path /home/cool/MagicMirror/modules/EXT-Detector
      npm error command failed
      npm error command sh -c installer/postinstall.sh -r -m -b
      npm error A complete log of this run can be found in: /home/cool/.npm/_logs/2024-07-01T14_22_52_595Z-debug-0.log
      cool@pine64:~/MagicMirror/modules/EXT-Detector$

      bugsounetB 1 Reply Last reply Reply Quote 0
      • bugsounetB Offline
        bugsounet Banned @coolnine98
        last edited by

        Duplicate of this Topic

        Can you try this?

        1 Reply Last reply Reply Quote 1

        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