Read the statement by Michael Teeuw here.
MMM-AssistantMk2
-
i just what to check so if this is right or wrong before i try it:S
on line 20 i get this: ‘arrow function syntax (=>)’ is only available in ES6 (use ‘esversion: 6’).
on line 21 i get this: Missing semicolon.
is this anyting i need to change?
-
@otto said in MMM-AssistantMk2:
i just what to check so if this is right or wrong before i try it:S
on line 20 i get this: ‘arrow function syntax (=>)’ is only available in ES6 (use ‘esversion: 6’).
on line 21 i get this: Missing semicolon.
is this anyting i need to change?
i got this when i was trying to start it:
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-v3.1-linux-arm-glibc
Found: [node-v64-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-v3.1-linux-arm-glibc/grpc_node.node’ -
-
@otto after u fix the node problem above, then redo the npm install in the module folder…
if there are still issues, then see the module installation instructions for the steps to resolve this problem -
-
@otto said in MMM-AssistantMk2:
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-v3.1-linux-arm-glibc
Found: [node-v64-linux-arm-glibc]This message means you’ve missed/failed
electron-rebuild
step. read the docs and do that step again carefully. -
@Sean do i need to reinstall it all, or can i just jump to electron-rebuild ?
-
@otto
I think if there is no other issue, just doingelectron-rebuild
be enough. -
@Sean
just to be sure i havent miss understanding the guide,
sudo apt-get install gcc-5 #or gcc-7 what sholde i have 5 or 7 i am running the latest Raspbian Buster 2019-07-10 -
@otto
Raspbian Buster has gcc8 as default. Unfortunately with gcc8, grpc wouldn’t be compiled easily. so You need to downgrade to gcc7