MagicMirror² v2.8.0 is available! For more information about this release, check out this topic.

Issue when I start the mirror



  • I have that error and a black screen when i start the mirror. I have already tried npm rebuild but it doesn’t work. Anyone can help me ?

    Starting MagicMirror: v2.7.1
    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.
    Initializing new module helper ...
    Check MagicMirror version for node helper 'MMM-GoogleBirthdaysProvider' - Minimum version:  2.6.0 - Current version: 2.7.1
    Version is ok!
    Module helper loaded: MMM-GoogleBirthdaysProvider
    No helper found for module: weatherforecast.
    Initializing new module helper ...
    Module helper loaded: newsfeed
    Initializing new module helper ...
    Module helper loaded: MMM-NowPlayingOnSpotify
    Initializing new module helper ...
    Module helper loaded: MMM-AVStock
    Initializing new module helper ...
    Module helper loaded: mmm-hue-lights
    Initializing new module helper ...
    Module helper loaded: MMM-Formula1
    Initializing new module helper ...
    Module helper loaded: MMM-nasaastropic
    Initializing new module helper ...
    Module helper loaded: MMM-Remote-Control
    No helper found for module: MMM-Carousel.
    No helper found for module: MMM-chromecast.
    Initializing new module helper ...
    Module helper loaded: MMM-Screencast
    Initializing new module helper ...
    Module helper loaded: MMM-Instagram
    Initializing new module helper ...
    Module helper loaded: MMM-TweetsByTimelineOrList
    No helper found for module: MMM-Snow.
    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.0-linux-arm-glibc
    Found: [electron-v2.0-linux-arm-glibc, node-v59-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.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.
    Initializing new module helper ...
    Check MagicMirror version for node helper 'MMM-GoogleBirthdaysProvider' - Minimum version:  2.6.0 - Current version: 2.7.1
    Version is ok!
    Module helper loaded: MMM-GoogleBirthdaysProvider
    No helper found for module: weatherforecast.
    Initializing new module helper ...
    Module helper loaded: newsfeed
    Initializing new module helper ...
    Module helper loaded: MMM-NowPlayingOnSpotify
    Initializing new module helper ...
    Module helper loaded: MMM-AVStock
    Initializing new module helper ...
    Module helper loaded: mmm-hue-lights
    Initializing new module helper ...
    Module helper loaded: MMM-Formula1
    Initializing new module helper ...
    Module helper loaded: MMM-nasaastropic
    Initializing new module helper ...
    Module helper loaded: MMM-Remote-Control
    No helper found for module: MMM-Carousel.
    No helper found for module: MMM-chromecast.
    Initializing new module helper ...
    Module helper loaded: MMM-Screencast
    Initializing new module helper ...
    Module helper loaded: MMM-Instagram
    Initializing new module helper ...
    Module helper loaded: MMM-TweetsByTimelineOrList
    No helper found for module: MMM-Snow.
    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-v3.0-linux-arm-glibc
    Found: [electron-v2.0-linux-arm-glibc, node-v59-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.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 (internal/modules/cjs/loader.js:711:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
        at Module.load (internal/modules/cjs/loader.js:620:32)
        at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
        at Function.Module._load (internal/modules/cjs/loader.js:551:3)
        at Module.require (internal/modules/cjs/loader.js:658:17)
        at require (internal/modules/cjs/helpers.js:20: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-v3.0-linux-arm-glibc
    Found: [electron-v2.0-linux-arm-glibc, node-v59-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.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 (internal/modules/cjs/loader.js:711:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
        at Module.load (internal/modules/cjs/loader.js:620:32)
        at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
        at Function.Module._load (internal/modules/cjs/loader.js:551:3)
        at Module.require (internal/modules/cjs/loader.js:658:17)
        at require (internal/modules/cjs/helpers.js:20: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.
    
    


  • @Vit73520 there are instructions in the assistant install about how to get rid of this.

    I had to erase node_modules
    Change package.json electron version to 3.0.13 and npm install, and then use electron-rebuild to make it work



  • @sdetweil @Vit73520 Do the same for MMM-Hotword if you’re using it, with the snowboy node module.



  • @sonicgoose yes, both



  • @sdetweil @sonicgoose Ok thank you, I will do it