Read the statement by Michael Teeuw here.
Can't start MM as kiosk only server
-
For starters, please use the markdown features when posting code & logs.
Secondly, did you take the error message’s advice and runnpm rebuildin the MMM-AssistantMk2 folder? Did it help? -
Hi thanks.
I’ve donenpm rebuildandaudit fixsame error come up. The application launch but only a black screen and I have to Kill the process. -
@warmyster said in Can't start MM as kiosk only server:
App threw an error during load
Error: Failed to load gRPC binary module because it was not installed for the current system
Expected directory: electron-v2.0-linux-arm-glibc
Found: [electron-v4.0-linux-arm-glibc, node-v67-linux-arm-glibc]It seems that some module inside MMM-AssistantMk2 is compiled against electron v2.0. If above suggestion does not work I would recommend installing the whole module again. Delete the folder, do a git clone, git pull and npm install again.
-
@warmyster Or try disabling MMM-AssistantMk2 and run MM again.
-
@lavolp3 It works when I don’t include the module. Ill try re installing it again
-
@lavolp3
I’ve done a reinstall (deleted the directory and didgit clone) and this is what I got after install but still getting the same errorpi@raspi:~/MagicMirror/modules/MMM-AssistantMk2 $ npm install
grpc@1.18.0 install /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc
node-pre-gyp install --fallback-to-build --library=static_librarynode-pre-gyp WARN Using request for node-pre-gyp https download
[grpc] Success: “/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/node-v67-linux-arm-glibc/grpc_node.node” is installed via remoteprotobufjs@6.8.8 postinstall /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/protobufjs
node scripts/postinstallnpm notice created a lockfile as package-lock.json. You should commit this file.
added 273 packages from 186 contributors and audited 635 packages in 64.238s
found 0 vulnerabilities -
well… looks good doesn’t it? Should work now.
-
@lavolp3
NO its giving the same error -
@warmyster if it is still about this module, maybe @Sean can help since it’s his module
-
@lavolp3
Thanks I got hold of @Sean and he helped me sort if out. Turns out I didnt rebuild the packages correctly :( -
Great. I’m glad you got your module working. Can you post the steps you took here?
-
@warmyster Can you expand or link the conversation with Sean… Have been strugling with this for hours now.
Thanks
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login