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.

    MMM-AssistantMk2 breaks with MM v2.7.0

    Scheduled Pinned Locked Moved Solved Troubleshooting
    4 Posts 3 Posters 1.7k Views 3 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
      sonicgoose
      last edited by

      Hello,

      Upgraded to MM v2.7.0 (backed up first!) and npm start dev shows the following error:

      Cannot find module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.0-linux-arm-glibc/grpc_node.node'
      

      I believe this is detailed here at the bottom under the heading “downgrade grpc to v1.13” but I’m not experienced enough to know if this will also work with MM v2.7.0. Anyone tried it yet?

      ? S 2 Replies Last reply Reply Quote 1
      • ? Offline
        A Former User @sonicgoose
        last edited by

        @sonicgoose
        Try electron-rebuild again.

        S 1 Reply Last reply Reply Quote 1
        • S Away
          sdetweil @sonicgoose
          last edited by

          @sonicgoose there is a whole list of steps to take to fix this problem…

          1st change the MMM-AssistantMk2 package.json dependency for electron from 4.0.x to 3.0.13 to match MM…
          (this is the ONLY way I could fix it on my system)

          one item, upgrade steps to 2.7.0 after git pull, then npm install and then in each module with package.json ALSO npm install

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            sonicgoose @Guest
            last edited by

            @Sean Doing this with both MMM-AssistantMk2 and MMM-Hotword (snowboy) did the trick. Thanks!

            1 Reply Last reply Reply Quote 0
            • 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