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 6.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
                        • O Offline
                          OthTheGentel
                          last edited by

                          @Mykle1 Thank you for your answer.

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

                            @oththegentel

                            You’re welcome, mate.

                            You might want to read this simple guide if you are unsure about adding modules to your config.js file.

                            https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners

                            Create a working config
                            How to add modules

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

                              Is there any way to get an overview when I’m editing the config.js file
                              I tried a web access to pi’s ip address and port from another computer on the same network but it’s not working even if i specified the ip address of pi in address section and allowed all ip addresses in ipwhitelist section!!

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

                                @oththegentel

                                This is not working for you?

                                var config = {
                                	address: "localhost",
                                	port: 8080,
                                	ipWhitelist: [],
                                

                                Create a working config
                                How to add modules

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

                                  @mykle1 unfortunately not.
                                  I put the wlan0 ip address of my pi instead of localhost and it’s not working neither.

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

                                    @oththegentel

                                    Long shot:

                                    Try address: "0.0.0.0",

                                    Create a working config
                                    How to add modules

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

                                      @mykle1 Nope even locally
                                      I’ll scan all my ports and check if 8080 is already used

                                      D idoodlerI 2 Replies Last reply Reply Quote 0
                                      • D Offline
                                        dazza120 @OthTheGentel
                                        last edited by

                                        @oththegentel enable VNC and patch in using that, I’m doing changes on my phone using that method it’s not the best given the screen size normally I do adjustments on the Mac when I can be bothered to boot it up, last minute changes are done on the phone.

                                        1 Reply Last reply Reply Quote 0
                                        • idoodlerI Offline
                                          idoodler Module Developer @OthTheGentel
                                          last edited by

                                          @oththegentel It sounds like your MagicMirror instance is not running.
                                          How did you start MagicMirror, do you have pm2 installed?

                                          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