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.

    MagicMirror v2.1.0 Update error

    Scheduled Pinned Locked Moved Solved Troubleshooting
    31 Posts 12 Posters 25.0k Views 12 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
      ostfilinchen
      last edited by

      I think, i Set up a New raspian with New Installation of mm. This update was Not a good idea…

      1 Reply Last reply Reply Quote 0
      • T Offline
        teandryk @yawns
        last edited by Jopyth

        @yawns I did and thats what i got now :)

        pi@raspberrypi:~/MagicMirror $ npm install
        \
        \> electron@1.4.13 postinstall /home/pi/MagicMirror/node_modules/electron
        \> node install.js
        
        
        \> electron-prebuilt@1.4.13 postinstall /home/pi/MagicMirror/node_modules/electron-prebuilt
        \> node install.js
        
        npm WARN unmet dependency /home/pi/MagicMirror/node_modules/grunt-eslint/node_modules/eslint/node_modules/escope/node_modules/esrecurse requires estraverse@'~4.1.0' but will load
        npm WARN unmet dependency /home/pi/MagicMirror/node_modules/grunt-eslint/node_modules/eslint/node_modules/estraverse,
        npm WARN unmet dependency which is version 4.2.0
        npm ERR! Linux 4.4.21-v7+
        npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
        npm ERR! node v4.3.2
        npm ERR! npm  v2.14.12
        npm ERR! code EPEERINVALID
        
        npm ERR! peerinvalid The package grunt@1.0.1 does not satisfy its siblings' peerDependencies requirements!
        npm ERR! peerinvalid Peer grunt-yamllint@0.2.0 wants grunt@~0.4.0
        npm ERR! peerinvalid Peer grunt-eslint@19.0.0 wants grunt@>=0.4.0
        
        npm ERR! Please include the following file with any support request:
        npm ERR!     /home/pi/MagicMirror/npm-debug.log
        
        A 1 Reply Last reply Reply Quote 0
        • A Offline
          arosenhave @teandryk
          last edited by arosenhave

          @teandryk I too had this problem earlier today. I solved it by navigating to /node_modules/electron
          and run “sudo node install.js”. Have some patience - it took a loooong time. I ended up leaving it and went to do something else. When I got back half an hour later it was done and the mirror was running.

          Hope it helps. Good luck :-)

          T P 2 Replies Last reply Reply Quote 1
          • T Offline
            teandryk @arosenhave
            last edited by

            @arosenhave
            It worked and even didnt took a split sec :)

            thanks !!!

            1 Reply Last reply Reply Quote 0
            • P Offline
              poutr @arosenhave
              last edited by

              @teandryk @arosenhave Hello, I have run into the same issue wanting to install the magic mirror² framework on my windows laptop to develop a module. Running sudo node install.js from my powershell or from a node.js prompt did nothing to solve my problem. As far as I gathered, the issue come from this 2 not-updated packages that MagicMiror is using : https://github.com/geedew/grunt-yamllint/blob/master/package.json and the one called grunt-eslint. Both did not update their package.json (and maybe code) as the grunt developpers asked : http://gruntjs.com/blog/2016-04-04-grunt-1.0.0-released#peer-dependencies . Here is a topic on a forum surrounding that updating issue. However I am uncertain about what to do right now to solve it since the raspeberry pi environment and a laptop are not similar.

              tosti007T 1 Reply Last reply Reply Quote 0
              • tosti007T Offline
                tosti007 Module Developer @poutr
                last edited by

                @poutr if you are running on Windows just type npm install in the main folder and you should be good to go (assuming you have node.js installed on your pc)

                If there is anything don't hesitate to contact me!
                ProfileSwitcher, TouchNotifications

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  poutr @tosti007
                  last edited by

                  @tosti007 Well, it’s the

                  npm install 
                  

                  that failed. But updating npm solved the issue since I had npm version 2.x.x (I think, not sure since I did not save the command prompt before the update). From the grunt dev page, higher npm version only raises warning for lower version number requirements and does nothing for

                  "grunt" : ">=version_number"
                  

                  Which is good.

                  Forgot to report that the solution there worked when I tested https://forum.magicmirror.builders/topic/971/dependency-problems/6

                  Thank you for responding promptly to my post !

                  tosti007T 1 Reply Last reply Reply Quote 0
                  • tosti007T Offline
                    tosti007 Module Developer @poutr
                    last edited by

                    @poutr alright good to hear that’s the problem is solved!

                    If there is anything don't hesitate to contact me!
                    ProfileSwitcher, TouchNotifications

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