Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED MMM-AssistantMk2 breaks with MM v2.7.0

    Troubleshooting
    3
    4
    1118
    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
      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?

      Sean S 2 Replies Last reply Reply Quote 1
      • Sean
        Sean Module Developer @sonicgoose last edited by

        @sonicgoose
        Try electron-rebuild again.

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

          1 Reply Last reply Reply Quote 0
          • S
            sonicgoose @Sean 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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy