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.

    Issues running MM on Debian 11 on Mac mini

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    4 Posts 2 Posters 910 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.
    • R Offline
      Redicaljk
      last edited by

      I recently installed Debian 11 on an older Mac mini without any issues. However, I am unable to run Magic Mirror.

      This is the error that occurs when I type in “npm run start”:

      raspi@raspberry:~/MagicMirror $ npm run start

      magicmirror@2.22.0 start
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      sh: 1: ./node_modules/.bin/electron: not found
      npm ERR! code 127
      npm ERR! path /home/raspi/MagicMirror
      npm ERR! command failed
      npm ERR! command sh -c DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/raspi/.npm/_logs/2023-01-07T11_43_55_951Z-debug.log
      raspi@raspberry:~/MagicMirror $

      This is the npm and node versions:
      raspi@raspberry:~/MagicMirror $ npm --version
      7.5.2

      raspi@raspberry:~/MagicMirror $ node --version
      v12.22.12

      Any help would be most appreciated!!

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Redicaljk
        last edited by

        @Redicaljk u are on node 12. need to be 16 at least.

        if u had used my script it would have upgraded node as part of the install

        see
        https://github.com/sdetweil/MagicMirror_scripts

        you can try the upgrade script w force. it will upgrade node too

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          Redicaljk @sdetweil
          last edited by

          @sdetweil thank you!

          I attempted to load the script but had this issue:

          Installing helper tools …
          Updating packages …
          [ <=> ]
          installing correct version of node and npm, please wait
          node: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
          /usr/local/bin/node: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
          node: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
          node failed to install, exiting

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Redicaljk
            last edited by

            @Redicaljk So u need to install libstdc++.so.6

            is this a lite debian? needs desktop for browser

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0

            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