• 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.8k 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, 8:58 PM Apr 1, 2020, 8:57 PM

    It is still running, but nothing changed into the terminal.
    After the command “npm install --save-dev electron-rebuild” I had this message :

    • electron-rebuild@1.10.1
      updated 2 packages and audited 822 packages in 16.302s

    3 packages are looking for funding
    run npm fund for details

    found 9 low severity vulnerabilities
    run npm audit fix to fix them, or npm audit for details

    Should I run “npm fund” and “npm audit fix” before launching the second command ?

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

      @mattx38 no, those won’t help anything

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @mattx38 did u disable pir-sensor?

        are there still problems (dev window, terminal window?)

        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, 9:00 PM

          Yes I disabled it.
          Can I run a new Putty window while the rebuild of Assistant is running, to check ?

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

            @mattx38 sure

            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, 9:05 PM

              [2020-04-01 23:02:44.155] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Failed to load gRPC binary modu le because it was not installed for the current system
              Expected directory: electron-v6.1-linux-arm-glibc
              Found: [electron-v3.1-linux-arm-glibc, node-v64-linux-arm-glibc]
              This problem can often be fixed by running “npm rebuild” on the current system
              Original error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-AssistantMk 2/node_modules/grpc/src/node/extension_binary/electron-v6.1-linux-arm-glibc/grpc _node.node’
              Require stack:

              • /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_exten sion.js
              • /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_int erceptors.js
              • /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client.js
              • /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/index.js
              • /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/co mponents/assistant.js
              • /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/in dex.js
              • /home/pi/MagicMirror/modules/MMM-AssistantMk2/components/assistant.js
              • /home/pi/MagicMirror/modules/MMM-AssistantMk2/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/mai n.js
              S 1 Reply Last reply Apr 1, 2020, 9:07 PM Reply Quote 0
              • S Offline
                sdetweil @mattx38
                last edited by sdetweil Apr 1, 2020, 9:07 PM Apr 1, 2020, 9:07 PM

                @mattx38 i’m sorry, now out of my depth of solutions… you’ll have to get @Sean (MMM-AssistantMk2 author) involved…

                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, 9:08 PM

                  Ok, thanks for your help so far.
                  The rebuilding is not done yet ; still running.

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mattx38
                    last edited by mattx38 Apr 1, 2020, 9:46 PM Apr 1, 2020, 9:32 PM

                    Rebuild is done for the Assistant. The MM is launnching again. I didn’t try to activate it by saying “Jarvis” (everyone is sleeping at home).

                    I put PIR module ON, black screen again, and still this error :

                    [2020-04-01 23:30:25.054] [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).

                    EDIT : So I did a “npm install” into the MMM-PIR-Sensor folder, and now it works again.
                    A very big THANK YOU to YOU !!!

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

                      @mattx38 cool. My update script would have fixed PIR problem. But not assistant or hotword

                      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
                      • 4 / 8
                      4 / 8
                      • First post
                        38/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