@lavolp3
Thanks I got hold of @Sean and he helped me sort if out. Turns out I didnt rebuild the packages correctly :(
Read the statement by Michael Teeuw here.
Posts
-
RE: Can't start MM as kiosk only server
-
RE: Can't start MM as kiosk only server
@lavolp3
NO its giving the same error -
RE: Can't start MM as kiosk only server
@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 -
RE: Can't start MM as kiosk only server
@lavolp3 It works when I don’t include the module. Ill try re installing it again
-
RE: Can't start MM as kiosk only server
Hi thanks.
I’ve donenpm rebuild
andaudit fix
same error come up. The application launch but only a black screen and I have to Kill the process. -
Can't start MM as kiosk only server
Hi all, I’m new here so please help me out.
I’m building my first mirror. Got a new Pi 3B+ and installed everything from scratch. sound and usb mic is working. I’ve added MMM-AssistantMk2 & Hotword with basic default settings. The problem is it will only run in serveronly mode and it works when I use my browser.But when i use npm start I get the following error:
pi@raspi:~/MagicMirror $ npm startmagicmirror@2.6.0 start /home/pi/MagicMirror
sh run-start.shStarting MagicMirror: v2.6.0
Loading config …
Loading module helpers …
No helper found for module: alert.
Initializing new module helper …
Module helper loaded: updatenotification
No helper found for module: clock.
Initializing new module helper …
Module helper loaded: calendar
No helper found for module: compliments.
No helper found for module: currentweather.
No helper found for module: weatherforecast.
Initializing new module helper …
Module helper loaded: newsfeed
WARNING! Could not load config file. Starting with default configuration. Error found: 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]
This problem can often be fixed by running “npm rebuild” on the current system
Original error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v2.0-linux-arm-glibc/grpc_node.node’
Loading module helpers …
No helper found for module: alert.
Initializing new module helper …
Module helper loaded: updatenotification
No helper found for module: clock.
Initializing new module helper …
Module helper loaded: calendar
No helper found for module: compliments.
No helper found for module: currentweather.
No helper found for module: weatherforecast.
Initializing new module helper …
Module helper loaded: newsfeed
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]
This problem can often be fixed by running “npm rebuild” on the current system
Original error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v2.0-linux-arm-glibc/grpc_node.node’
at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17)
at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:63:3)
at Module._compile (module.js:642:30)
at Object.Module._extensions…js (module.js:653:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:504:12)
at Function.Module._load (module.js:496:3)
at Module.require (module.js:586:17)
at require (internal/module.js:11:18)
at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:144:12)
Whoops! There was an uncaught exception…
{ 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]
This problem can often be fixed by running “npm rebuild” on the current system
Original error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v2.0-linux-arm-glibc/grpc_node.node’
at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17)
at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:63:3)
at Module._compile (module.js:642:30)
at Object.Module._extensions…js (module.js:653:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:504:12)
at Function.Module._load (module.js:496:3)
at Module.require (module.js:586:17)
at require (internal/module.js:11:18)
at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:144:12) code: ‘MODULE_NOT_FOUND’ }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Launching application.