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.

    MM2 my first try

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    21 Posts 8 Posters 7.8k Views 7 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.
    • S Offline
      secdude
      last edited by

      had the same issue with a brand spankin new installation of raspian noobs full and apt-get update/upgrade/dist-upgrade done. freshly set up. the install oneliner failed. only manual setup worked. using a rpi3. maybe there’s a broken dependency somewhere?

      1 Reply Last reply Reply Quote 0
      • S Offline
        seramik
        last edited by

        enought for tonight, i’ve got the weather in my town
        not so bad for a first day and i dont speak of the weather

        1 Reply Last reply Reply Quote 1
        • S Offline
          seramik
          last edited by

          it seems good, better than i used to think

          but i 've got a few problem with forecast weather module
          i cant see the predicted amount of rain.
          i set up the option by true and it dont changes anythinks

          second problem :
          i set up “colored” in true but
          instead of having max and min temperature
          i’ve got max and gap :
          max temp is in red and gap is in blue

          that sucks

          any ideas ?

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            ganget @seramik
            last edited by

            @seramik You can find the problem inside the modules by using the Developer tools. Acces this by using the shortcut ctrl + shift + i. When you have the developer tools open you can inspect elements and figure out errors by reading the console log and or relevant code for the element. There is so much more information there though :winking_face:

            This really important tool will help you so much with fixing problems inside your MagicMirror. What also will help you is this forum and knowledge you gather. Good luck with figuring out your 2 problems! If you have more questions do ask!

            1 Reply Last reply Reply Quote 0
            • S Offline
              seramik
              last edited by

              true, no rain prediction, cauz of type of account on meteo site, i read it

              for temp max and temp min, it seems to be an actual trouble,
              TY for the tips, i’ve already found the proper section, where i 'll have to ask my question

              1 Reply Last reply Reply Quote 0
              • alainchiassonA Offline
                alainchiasson
                last edited by

                I helped a friend do a setup, we used :

                • The latest RPi 3 B+
                • Rasperian Stretch with Desktop and recommended software ( from https://www.raspberrypi.org/downloads/raspbian/)
                • Software update prior to installation

                The initial script failed on dependancies and depracated packages. Just could not get it to work.

                Today I followed the instructions on :

                • The RPi 3 B
                • Rasperian Stretch with Desktop ( from https://www.raspberrypi.org/downloads/raspbian/ )
                • no update

                While I did get warnings, everything worked like a charm ( well - more or less - I forgot to copy the config.)

                I know from another package ( https://octoprint.org/ - The OctoPi ) that some work needed to be done to support the RPi 3 B+ (Newer CPU ? Drivers ? Chipsets? - no really sure). Could this be the issue?

                I will borrow his RPi 3 B+ and try again next week if no one else has comparables.

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

                  @alainchiasson said in MM2 my first try:

                  The initial script failed on dependancies and depracated packages. Just could not get it to work.

                  The installation script hasn’t been updated to handle some of the changes in the latest version of Raspbian. I would ignore it and follow the steps for a manual installation.

                  1 Reply Last reply Reply Quote 1
                  • S Offline
                    showbizkid
                    last edited by

                    https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror This helped me.

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Mark Fleming
                      last edited by

                      I too had the same problem with my attempt at installing the MM program. I found this on
                      https://www.w3schools.com/nodejs/nodejs_raspberrypi.asp. i used it as a long shot as i was running out of things to try. it worked and i now have MM up and running. I am using the AIY project file as install on raspberry pi 2.

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        seramik
                        last edited by

                        so second try : i decided to restart from the beginning
                        i tried the manual installation
                        first i install the node .js, no trouble, intall seems OK
                        but when i began " npm install && npm start", troubles appear :

                        pi@raspberrypi:~/MagicMirror $ npm install && npm start
                        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.
                        npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.

                        electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
                        node ./download-chromedriver.js
                        

                        successfully dowloaded and extracted!

                        electron@2.0.16 postinstall /home/pi/MagicMirror/node_modules/electron
                        node install.js
                        

                        Downloading SHASUMS256.txt
                        [============================================>] 100.0% of 5.39 kB (5.39 kB/s)

                        magicmirror@2.6.0 install /home/pi/MagicMirror
                        cd vendor && npm install
                        

                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”})

                        added 82 packages from 57 contributors and audited 220 packages in 15.75s
                        found 4 low severity vulnerabilities
                        run npm audit fix to fix them, or npm audit for details

                        magicmirror@2.6.0 postinstall /home/pi/MagicMirror
                        sh installers/postinstall/postinstall.sh && npm run install-fonts
                        

                        MagicMirror installation successful!

                        magicmirror@2.6.0 install-fonts /home/pi/MagicMirror
                        cd fonts && npm install
                        

                        added 1 package from 1 contributor and audited 1 package in 8.517s
                        found 0 vulnerabilities

                        npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.
                        npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.

                        added 930 packages from 1367 contributors and audited 2433 packages in 210.933s
                        found 23 vulnerabilities (8 low, 14 moderate, 1 high)
                        run npm audit fix to fix them, or npm audit for details

                        magicmirror@2.6.0 start /home/pi/MagicMirror
                        sh run-start.sh
                        

                        Starting MagicMirror: v2.6.0
                        Loading config …
                        WARNING! Could not find config file. Please create one. Starting with default configuration.
                        Loading module helpers …
                        Initializing new module helper …
                        Module helper loaded: updatenotification
                        No helper found for module: helloworld.
                        All module helpers loaded.
                        Starting server on port 8080 …
                        Server started …
                        Connecting socket for: updatenotification
                        Sockets connected & modules started …
                        Launching application.
                        Shutting down server…
                        Stopping module helper: updatenotification

                        so, as resquest, i run npm audit for fixthis

                        pi@raspberrypi:~/MagicMirror $ npm audit fix
                        npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
                        npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.

                        jshint@2.10.1
                        added 4 packages from 4 contributors, removed 7 packages and updated 13 packages in 44.656s
                        fixed 13 of 23 vulnerabilities in 2433 scanned packages
                        2 vulnerabilities required manual review and could not be updated
                        1 package update for 8 vulns involved breaking changes
                        (use npm audit fix --force to install breaking changes; or refer to npm audit for steps to fix these manually)
                        pi@raspberrypi:~/MagicMirror $
                        

                        and i still have thoses 2 warnings who seems bad

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