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.

    Troubleshooting MagicMirror

    Scheduled Pinned Locked Moved Solved Troubleshooting
    19 Posts 5 Posters 4.9k Views 4 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.
    • O Offline
      OthTheGentel
      last edited by

      Hi guys,
      First of all, i'm new in this forum and having a beginning level on this project that I would customize it on my own.
      - First, the installation step doesn't finish correctly using the version 
      Debian Stretch with Raspberry Pi Desktop (Kernel version 4.9), i got the error unable to install dependencies :
      Check current Node installation ...
      Node currently installed. Checking version number.
      Minimum Node version: v5.1.0
      Installed Node version: v8.11.1
      No Node.js upgrade necessary.
      Cloning MagicMirror ...
      Cloning into 'MagicMirror'...
      remote: Enumerating objects: 282, done.
      remote: Counting objects: 100% (282/282), done.
      remote: Compressing objects: 100% (251/251), done.
      remote: Total 282 (delta 34), reused 127 (delta 21), pack-reused 0
      Receiving objects: 100% (282/282), 385.56 KiB | 0 bytes/s, done.
      Resolving deltas: 100% (34/34), done.
      Cloning MagicMirror Done!
      Installing dependencies ...
      bash: line 112: npm: command not found
      Unable to install dependencies!
      Can I get some help from u guys?
      Thank you all
      
      D 1 Reply Last reply Reply Quote 0
      • D Offline
        dazza120 @OthTheGentel
        last edited by

        @oththegentel delete the Magic Mirror Folder and download it again I had similar on my pi and it installed the dependence’s after that

        O 1 Reply Last reply Reply Quote 0
        • O Offline
          OthTheGentel @dazza120
          last edited by

          @dazza120 thank you for your response.
          I renamed the folder and tried to install it again same error.
          Actually, i just downloaded the latest version of node and trying to install it but it takes a lot of time (waiting for headers (connection failed IP 173.209.xx.xx:80))
          Did you had the same thing? Can i just stop interrupt and go with the manual install instead of automatic??

          D bheplerB 3 Replies Last reply Reply Quote 0
          • D Offline
            dazza120 @OthTheGentel
            last edited by dazza120

            @oththegentel delete the folder and do the manual method I’m not sure if pm2 start mm work doing it that method, ie when you reboot it I did put the pm2 script in a thread on the site that worked for me, so use the manual method then reboot and see if the mirror comes back online if not look for pm2 restart
            If PM2 gives you trouble use https://forum.magicmirror.builders/topic/8987/pm2-error/13

            O 1 Reply Last reply Reply Quote 0
            • D Offline
              dazza120 @OthTheGentel
              last edited by

              @oththegentel your pi up to date? Get all updates for the pi and try again

              1 Reply Last reply Reply Quote 0
              • bheplerB Offline
                bhepler Module Developer @OthTheGentel
                last edited by

                @oththegentel - You can install over top of a busted installation. Any attempts to install dependencies that you already have in place will automatically be intercepted and you’ll see a message saying that there’s nothing to install.

                It sure sounds like Node didn’t install correctly. The connection issue is probably on their end (I’m assuming your local network isn’t in the 173.209.xxx.xxx range). This is most likely temporary and once someone notices, they’ll get it back up & running. Keep trying!

                O 1 Reply Last reply Reply Quote 0
                • O Offline
                  OthTheGentel @dazza120
                  last edited by

                  @dazza120 Perfect thanks a lot man it’s working now.
                  So the next step, i copied the file /home/pi/MagicMirror/config/config.js.sample to /home/pi/MagicMirror/config/config.js
                  Do I have to modify the script in config.js or go to inside each folder in modules and customize them?

                  1 Reply Last reply Reply Quote 0
                  • O Offline
                    OthTheGentel @bhepler
                    last edited by

                    @bhepler Thanks for your help, it’s working now. I deleted the folder and installed it with the manual method :thumbs_up:

                    1 Reply Last reply Reply Quote 0
                    • O Offline
                      OthTheGentel
                      last edited by

                      Do I have to modify the script in config.js or go inside each folder in modules and customize them?

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @OthTheGentel
                        last edited by

                        @oththegentel said in Troubleshooting MagicMirror:

                        Do I have to modify the script in config.js or go inside each folder in modules and customize them?

                        You should only make changes to your config.js when adding or removing the modules you want to display. It is not recommended that you modify the module files.

                        Create a working config
                        How to add modules

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