• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Update MMM

Scheduled Pinned Locked Moved Solved Troubleshooting
75 Posts 8 Posters 28.9k Views 9 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.
  • M Offline
    mattx38
    last edited by mattx38 Apr 1, 2020, 7:51 PM Apr 1, 2020, 7:50 PM

    I did the “npm install”.
    I fixed 2 moderate vulnerabilities and it still remains 8 low severity vulnerabilities.

    I don’t get if this can have consequences or not.

    S 1 Reply Last reply Apr 1, 2020, 7:55 PM Reply Quote 0
    • S Offline
      sdetweil @mattx38
      last edited by Apr 1, 2020, 7:55 PM

      @mattx38 don’t worry about the audit stuff… does it run?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • M Offline
        mattx38
        last edited by Apr 1, 2020, 8:02 PM

        No, the mirror stays black with the mouse arrow in the left upper corner.
        I did a reboot and a “pm2 restart mm”, but nothing works…

        S 1 Reply Last reply Apr 1, 2020, 8:04 PM Reply Quote 0
        • S Offline
          sdetweil @mattx38
          last edited by Apr 1, 2020, 8:04 PM

          @mattx38
          pm2 stop mm
          cd ~/magicMirror
          npm start dev
          alt-spacebar, n to minimize MM,… any messages on the terminal window?
          select the MM window to reopen, select the console, and scroll up to see if any errors…
          there is a fatal one somewhere

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • M Offline
            mattx38
            last edited by mattx38 Apr 1, 2020, 8:10 PM Apr 1, 2020, 8:08 PM

            Yes there is an error in red :

            [2020-04-01 22:06:21.797] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module ‘/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/build/Release/epoll.node’
            was compiled against a different Node.js version using
            NODE_MODULE_VERSION 64. This version of Node.js requires
            NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
            the module (for instance, using npm rebuild or npm install).

            and other errors still with PIR module, but the errors are written in white

            EDIT : I try a “npm rebuild” ?

            S 1 Reply Last reply Apr 1, 2020, 8:12 PM Reply Quote 0
            • S Offline
              sdetweil @mattx38
              last edited by Apr 1, 2020, 8:12 PM

              @mattx38 pir is a pain in the rear… I would disable it in config.js for now

              add

              disabled:true, 
              

              after module:“MMM-PIR-Sensor”,

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • M Offline
                mattx38
                last edited by Apr 1, 2020, 8:16 PM

                Done.

                I did again a “npm start dev” and I have new errors written in red :

                [2020-04-01 22:14:46.668] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/binding/Release/electron-v6.1-linux-arm/snowboy.node’
                Require stack:

                • /home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js
                • /home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js
                • /home/pi/MagicMirror/js/app.js
                • /home/pi/MagicMirror/js/electron.js
                • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
                S 1 Reply Last reply Apr 1, 2020, 8:19 PM Reply Quote 0
                • S Offline
                  sdetweil @mattx38
                  last edited by Apr 1, 2020, 8:19 PM

                  @mattx38 yep, snowboy is broke too… disable MMM-Hotword

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mattx38
                    last edited by Apr 1, 2020, 8:20 PM

                    This update broke a lot of things… What a pain !

                    S 1 Reply Last reply Apr 1, 2020, 8:23 PM Reply Quote 0
                    • S Offline
                      sdetweil @mattx38
                      last edited by sdetweil Apr 1, 2020, 8:23 PM Apr 1, 2020, 8:23 PM

                      @mattx38 for hotword, from the hotword doc, try
                      in the MMm_Hotword folder

                      git clone https://github.com/Kitt-AI/snowboy.git
                      cd snowboy
                      rm -rf .git
                      cp -r resources/models ..
                      npm install -y nan node-pre-gyp
                      ./node_modules/node-pre-gyp/bin/node-pre-gyp clean configure build
                      npm install -y
                      npm install -y electron-rebuild
                      ./node_modules/.bin/electron-rebuild
                      

                      its because electron changed versions… some modules are compiled at certain node and electron versions
                      if u change the versions (how would u know), then these modules break… Hotword and PIR are two such modules…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 2 / 8
                      2 / 8
                      • First post
                        17/75
                        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