Read the statement by Michael Teeuw here.
MMM-AssistantMk2 breaks with MM v2.7.0
-
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?
-
@sonicgoose
Try electron-rebuild again. -
@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
-
@Sean Doing this with both MMM-AssistantMk2 and MMM-Hotword (snowboy) did the trick. Thanks!