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.

    Trouble installing MM on Raspberry Pi Desktop for PC

    Scheduled Pinned Locked Moved Solved Troubleshooting
    5 Posts 3 Posters 727 Views 3 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 Online
      raymondjspigot
      last edited by

      Hi, I’ve run into trouble trying to install MagicMirror on an old intel NUC, on top of an installation of Debian with Raspberry Pi Desktop for PC/Mac from

      https://www.raspberrypi.com/software/raspberry-pi-desktop/

      It looks like Raspberry Pi Desktop is based on Debian Bullseye:

      Debian Bullseye with Raspberry Pi Desktop
      Release date: July 1st 2022
      System: 32-bit
      Kernel version: 5.10
      Debian version: 11 (bullseye)

      Installation of Raspberry Pi Desktop from the image on USB seemed successful and the machine boots to a desktop OK.

      I’ve then tried running the MagicMirror install script from https://github.com/sdetweil/MagicMirror_scripts

      but this gets to the section installing correct version of node and npm, please wait and fails with error messages at the terminal

      ERROR: npm v10.1.0 is known not to run on Node.js v12.22.12.  This version of npm supports the following node versions: `^18.17.0 || >=20.5.0`. You can find the latest version at https://nodejs.org/.
      
      ERROR:
      /usr/local/lib/node_modules/npm/lib/utils/exit-handler.js:19
        const hasLoadedNpm = npm?.config.loaded
      

      followed a bit later by

      node failed to install, exiting
      

      The RPi desktop installation instructions included allowing updates as part of the install process, so just in case that was causing issues I’ve tried:

      • MM install via script on a fresh RPi Desktop install (allowed updates during install)
      • MM install via script on a fresh RPi Desktop install (skipped updates during install this time)

      but I’m seeing the same npm error during the MagicMirror installation on both.

      Thanks for reading this far and any suggestions! - let me know if there’s anything else I should try : )

      M S 2 Replies Last reply Reply Quote 0
      • M Offline
        MMRIZE @raymondjspigot
        last edited by

        @raymondjspigot
        Your node version seems somewhat low.
        Check this;

        node -v
        
        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @raymondjspigot
          last edited by

          @raymondjspigot the desktop version is old and a mess. I strongly suggest using Ubuntu. mm runs there fine.

          and use my install script

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          R 1 Reply Last reply Reply Quote 0
          • R Online
            raymondjspigot @sdetweil
            last edited by

            @MMRIZE thanks for the suggestion - I’m not sure it even got as far as having a version of node that was too old.

            node -v
            

            just gives me a No such file or directory error

            @sdetweil thanks for taking a look! I’ll try ubuntu + install script and see how I get on.

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

              @raymondjspigot yeh, that’s the problem , that image is running 64 bit kernel (uname -a) and 32 bit runtime.

              but it keeps installing the 64 bit version of node, which won’t run in the 32 bit user space.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 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