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.

    Can't install on fresh RPi 4

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 507 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.
    • H Offline
      hap-scrapper
      last edited by

      Hi all,

      I’ve tried both the manual as well as automatic installs and I’m running into failures when I try to install Magic Mirror. I was wondering if anyone would mind taking a look at the output below and letting me know if there is a way I can resolve it. Thanks in advance :)

      
      $$\      $$\                     $$\           $$\      $$\ $$\                                          $$$$$$\
      $$$\    $$$ |                    \__|          $$$\    $$$ |\__|                                        $$  __$$\
      $$$$\  $$$$ | $$$$$$\   $$$$$$\  $$\  $$$$$$$\ $$$$\  $$$$ |$$\  $$$$$$\   $$$$$$\   $$$$$$\   $$$$$$\  \__/  $$ |
      $$\$$\$$ $$ | \____$$\ $$  __$$\ $$ |$$  _____|$$\$$\$$ $$ |$$ |$$  __$$\ $$  __$$\ $$  __$$\ $$  __$$\  $$$$$$  |
      $$ \$$$  $$ | $$$$$$$ |$$ /  $$ |$$ |$$ /      $$ \$$$  $$ |$$ |$$ |  \__|$$ |  \__|$$ /  $$ |$$ |  \__|$$  ____/
      $$ |\$  /$$ |$$  __$$ |$$ |  $$ |$$ |$$ |      $$ |\$  /$$ |$$ |$$ |      $$ |      $$ |  $$ |$$ |      $$ |
      $$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ |      $$ |      \$$$$$$  |$$ |      $$$$$$$$\
      \__|     \__| \_______| \____$$ |\__| \_______|\__|     \__|\__|\__|      \__|       \______/ \__|      \________|
                             $$\   $$ |
                             \$$$$$$  |
                              \______/
      
      Updating packages ...
      Hit:1 https://deb.nodesource.com/node_10.x buster InRelease                                                       
      Hit:2 http://archive.raspberrypi.org/debian buster InRelease                                                      
      Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease  
      Reading package lists... Done
      Installing helper tools ...
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      build-essential is already the newest version (12.6).
      curl is already the newest version (7.64.0-4).
      git is already the newest version (1:2.20.1-2).
      unzip is already the newest version (6.0-23+deb10u1).
      wget is already the newest version (1.20.1-1.1).
      wget set to manually installed.
      0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
      Check current Node installation ...
      Node currently installed. Checking version number.
      Minimum Node version: v5.1.0
      Installed Node version: v10.16.3
      No Node.js upgrade necessary.
      Check current NPM installation ...
      NPM currently installed. Checking version number.
      Minimum npm version: V6.0.0
      Installed npm version: V6.9.0
      No npm upgrade necessary.
      Cloning MagicMirror ...
      Cloning into 'MagicMirror'...
      remote: Enumerating objects: 315, done.
      remote: Counting objects: 100% (315/315), done.
      remote: Compressing objects: 100% (282/282), done.
      remote: Total 315 (delta 39), reused 193 (delta 21), pack-reused 0
      Receiving objects: 100% (315/315), 655.08 KiB | 497.00 KiB/s, done.
      Resolving deltas: 100% (39/39), done.
      Cloning MagicMirror Done!
      Installing dependencies ...
      npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
      
      > electron-chromedriver@1.8.0 install /root/MagicMirror/node_modules/electron-chromedriver
      > node ./download-chromedriver.js
      
      internal/modules/cjs/loader.js:638
          throw err;
          ^
      
      Error: Cannot find module '/root/MagicMirror/node_modules/electron-chromedriver/download-chromedriver.js'
          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
          at Function.Module._load (internal/modules/cjs/loader.js:562:25)
          at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
          at startup (internal/bootstrap/node.js:283:19)
          at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
      npm WARN grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is installed. You must install peer dependencies yourself.
      
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! electron-chromedriver@1.8.0 install: `node ./download-chromedriver.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the electron-chromedriver@1.8.0 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /root/.npm/_logs/2019-09-16T10_52_00_414Z-debug.log
      Unable to install dependencies!```
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @hap-scrapper
        last edited by

        @hap-scrapper said in Can't install on fresh RPi 4:

        '/root/MagicMirror/n

        looks like you did sudo (as folder is /root, instead of /home/pi)
        sudo to install magicmirror… please don’t…

        rename the magicmirror folder out of the way, and try my new installer script
        see here https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer/2

        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