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

Installation Error

Scheduled Pinned Locked Moved General Discussion
6 Posts 2 Posters 320 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.
  • V Offline
    vandam3b
    last edited by Nov 21, 2024, 2:32 AM

    Hi, I am trying to install MagicMirror again last time I used was about a year ago. Cleared my Sd card and reinstalled everything. I used sdetweil install instructions but received the following error. Any help is appreciated. Thank you
    npm error code EBADENGINE
    npm error engine Unsupported engine
    npm error engine Not compatible with your version of node/npm: magicmirror@2.29.0
    npm error notsup Not compatible with your version of node/npm: magicmirror@2.29.0
    npm error notsup Required: {“node”:“>=20.9.0 <21 || 22”}
    npm error notsup Actual: {“npm”:“10.9.0”,“node”:“v23.2.0”}
    npm error A complete log of this run can be found in: /home/vandam3b/.npm/_logs/2024-11-21T02_25_53_357Z-debug-0.log
    Unable to install dependencies!

    Here is the log info:
    install starting - Wed Nov 20 21:12:35 EST 2024
    installing on aarch64 processor system
    the os is PRETTY_NAME=“Debian GNU/Linux 12 (bookworm)” NAME=“Debian GNU/Linux” VERSION_ID=“12” VERSION=“12 (bookworm)” VERSION_CODENAME=bookworm ID=debian HOME_URL=“https://www.debian.org/” SUPPORT_URL=“https://www.debian.org/support” BUG_REPORT_URL=“https://bugs.debian.org/”
    total used free shared buff/cache available
    Mem: 907 523 111 21 354 383
    Swap: 511 305 206
    Updating packages …
    Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://deb.nodesource.com/node_23.x nodistro InRelease Hit:5 http://archive.raspberrypi.com/debian bookworm InRelease Reading package lists…
    apt-get update completed ok
    Reading package lists…
    Building dependency tree…
    Reading state information…
    Suggested packages:
    doc-base
    The following NEW packages will be installed:
    pv
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 58.6 kB of archives.
    After this operation, 146 kB of additional disk space will be used.
    Get:1 http://deb.debian.org/debian bookworm/main arm64 pv arm64 1.6.20-1 [58.6 kB]
    Fetched 58.6 kB in 0s (552 kB/s)
    Selecting previously unselected package pv.
    (Reading database …
    (Reading database … 5%
    (Reading database … 10%
    (Reading database … 15%
    (Reading database … 20%
    (Reading database … 25%
    (Reading database … 30%
    (Reading database … 35%
    (Reading database … 40%
    (Reading database … 45%
    (Reading database … 50%
    (Reading database … 55%
    (Reading database … 60%
    (Reading database … 65%
    (Reading database … 70%
    (Reading database … 75%
    (Reading database … 80%
    (Reading database … 85%
    (Reading database … 90%
    (Reading database … 95%
    (Reading database … 100%
    (Reading database … 134502 files and directories currently installed.)
    Preparing to unpack …/archives/pv_1.6.20-1_arm64.deb …
    Unpacking pv (1.6.20-1) …
    Setting up pv (1.6.20-1) …
    Processing triggers for man-db (2.11.2-2) …
    apt-get upgrade started
    apt-get upgrade result =rc=0 Reading package lists…
    Building dependency tree…
    Reading state information…
    Calculating upgrade…
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Installing helper tools …
    Reading package lists…
    Building dependency tree…
    Reading state information…
    curl is already the newest version (7.88.1-10+deb12u8).
    wget is already the newest version (1.21.3-1+b1).
    wget set to manually installed.
    git is already the newest version (1:2.39.5-0+deb12u1).
    build-essential is already the newest version (12.9).
    unzip is already the newest version (6.0-28).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    (node:4088) ExperimentalWarning: CommonJS module /usr/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /usr/lib/node_modules/npm/node_modules/supports-color/index.js using require().
    Support for loading ES Module in require() is an experimental feature and might change at any time
    (Use node --trace-warnings ... to show where the warning was created)

    added 1 package in 5s
    installing on bookworm
    Cloning MagicMirror …
    Cloning MagicMirror Done!
    Installing dependencies …

    Unable to install dependencies! 
    install starting - Wed Nov 20 21:22:19 EST 2024
    installing on aarch64 processor system
    the os is PRETTY_NAME=“Debian GNU/Linux 12 (bookworm)” NAME=“Debian GNU/Linux” VERSION_ID=“12” VERSION=“12 (bookworm)” VERSION_CODENAME=bookworm ID=debian HOME_URL=“https://www.debian.org/” SUPPORT_URL=“https://www.debian.org/support” BUG_REPORT_URL=“https://bugs.debian.org/”
    total used free shared buff/cache available
    Mem: 907 508 161 15 317 398
    Swap: 511 350 161
    Updating packages …
    Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://deb.nodesource.com/node_23.x nodistro InRelease Hit:5 http://archive.raspberrypi.com/debian bookworm InRelease Reading package lists…
    apt-get update completed ok
    Reading package lists…
    Building dependency tree…
    Reading state information…
    pv is already the newest version (1.6.20-1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    apt-get upgrade started
    apt-get upgrade result =rc=0 Reading package lists…
    Building dependency tree…
    Reading state information…
    Calculating upgrade…
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Installing helper tools …
    Reading package lists…
    Building dependency tree…
    Reading state information…
    curl is already the newest version (7.88.1-10+deb12u8).
    wget is already the newest version (1.21.3-1+b1).
    git is already the newest version (1:2.39.5-0+deb12u1).
    build-essential is already the newest version (12.9).
    unzip is already the newest version (6.0-28).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    installing on bookworm
    It seems like MagicMirror is already installed.
    To prevent overwriting, the installer will be aborted.
    Please rename the ~/MagicMirror folder and try again.
    install starting - Wed Nov 20 21:25:12 EST 2024
    installing on aarch64 processor system
    the os is PRETTY_NAME=“Debian GNU/Linux 12 (bookworm)” NAME=“Debian GNU/Linux” VERSION_ID=“12” VERSION=“12 (bookworm)” VERSION_CODENAME=bookworm ID=debian HOME_URL=“https://www.debian.org/” SUPPORT_URL=“https://www.debian.org/support” BUG_REPORT_URL=“https://bugs.debian.org/”
    total used free shared buff/cache available
    Mem: 907 509 31 8 436 398
    Swap: 511 337 174
    Updating packages …
    Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://deb.nodesource.com/node_23.x nodistro InRelease Hit:5 http://archive.raspberrypi.com/debian bookworm InRelease Reading package lists…
    apt-get update completed ok
    Reading package lists…
    Building dependency tree…
    Reading state information…
    pv is already the newest version (1.6.20-1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    apt-get upgrade started
    apt-get upgrade result =rc=0 Reading package lists…
    Building dependency tree…
    Reading state information…
    Calculating upgrade…
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Installing helper tools …
    Reading package lists…
    Building dependency tree…
    Reading state information…
    curl is already the newest version (7.88.1-10+deb12u8).
    wget is already the newest version (1.21.3-1+b1).
    git is already the newest version (1:2.39.5-0+deb12u1).
    build-essential is already the newest version (12.9).
    unzip is already the newest version (6.0-28).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    installing on bookworm
    Cloning MagicMirror …
    Cloning MagicMirror Done!
    Installing dependencies …

    Unable to install dependencies! 

    S 1 Reply Last reply Nov 21, 2024, 3:23 AM Reply Quote 0
    • S Offline
      sdetweil @vandam3b
      last edited by sdetweil Nov 21, 2024, 3:24 AM Nov 21, 2024, 3:23 AM

      @vandam3b said in Installation Error:

      npm error notsup Required: {“node”:“>=20.9.0 <21 || 22”}
      npm error notsup Actual: {“npm”:“10.9.0”,“node”:“v23.2.0”}

      yes, we support Node 20.9+ and node 22… not node 21
      the doc says check the release notes for the official versions

      next release will support node 23

      you can hack it… edit the package.json and change the engines from || 22 to || 23

      maybe it will run ok… did for me during some tests

      if you had used the automated install, it would have installed node 20.9

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      V 1 Reply Last reply Nov 21, 2024, 3:27 AM Reply Quote 0
      • V Offline
        vandam3b @sdetweil
        last edited by Nov 21, 2024, 3:27 AM

        @sdetweil Thank you for getting back to me. I will delete MM folder and do automated install. Where would I find those directions? Thank you

        S 1 Reply Last reply Nov 21, 2024, 3:36 AM Reply Quote 0
        • S Offline
          sdetweil @vandam3b
          last edited by Nov 21, 2024, 3:36 AM

          @vandam3b you have to start over with a new sd card flash
          the (my) scripts don’t uninstall an existing node, just install or upgrade a downlevel

          the doc links to my scripts… 1st alternative
          anyhow see
          https://github.com/sdetweil/MagicMirror_scripts

          the documentation is linked above in the header

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          V 1 Reply Last reply Nov 21, 2024, 3:38 AM Reply Quote 0
          • V Offline
            vandam3b @sdetweil
            last edited by Nov 21, 2024, 3:38 AM

            @sdetweil I will do that. Thank you very much.

            V 1 Reply Last reply Nov 21, 2024, 2:57 PM Reply Quote 0
            • V Offline
              vandam3b @vandam3b
              last edited by Nov 21, 2024, 2:57 PM

              @vandam3b Thank you very much, it worked.

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