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

black image after update google assistant



  • I have done an update to my google assistant and now I only have a black screen (if I disable the google assistant in the config.js the mirror will work) what should I do now?



  • @raf look in the console where u started MM (or pm2 logs) to see if there are any errors

    and also look in the developers window
    ctrl-shift-i, select the tab labeled console
    and scroll up to see any errors



  • @sdetweil
    is this what you mean

    [2020-11-14 17:35:08.225] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/binding/Release/electron-v6.1-linux-arm/snowboy.node'
    Require stack:
    - /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js
    - /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/index.js
    - /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_helper.js
    - /home/pi/MagicMirror/js/app.js
    - /home/pi/MagicMirror/js/electron.js
    - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
    - 
    [2020-11-14 17:35:08.248] [ERROR]  App threw an error during load
    [2020-11-14 17:35:08.250] [ERROR]  Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/binding/Release/electron-v6.1-linux-arm/snowboy.node'
    Require stack:
    - /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js
    - /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/index.js
    - /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_helper.js
    - /home/pi/MagicMirror/js/app.js
    - /home/pi/MagicMirror/js/electron.js
    - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
    - 
        at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Function.Module._load (internal/modules/cjs/loader.js:531:27)
        at Module.require (internal/modules/cjs/loader.js:685:19)
        at require (internal/modules/cjs/helpers.js:16:16)
        at Object. (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js:8:29)
        at Module._compile (internal/modules/cjs/loader.js:786:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
        at Module.load (internal/modules/cjs/loader.js:645:32)
    [2020-11-14 17:35:08.256] [ERROR]  Whoops! There was an uncaught exception...
    [2020-11-14 17:35:08.257] [ERROR]  Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/binding/Release/electron-v6.1-linux-arm/snowboy.node'
    Require stack:
    - /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js
    - /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/index.js
    - /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_helper.js
    - /home/pi/MagicMirror/js/app.js
    - /home/pi/MagicMirror/js/electron.js
    - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
    - 
        at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Function.Module._load (internal/modules/cjs/loader.js:531:27)
        at Module.require (internal/modules/cjs/loader.js:685:19)
        at require (internal/modules/cjs/helpers.js:16:16)
        at Object. (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js:8:29)
        at Module._compile (internal/modules/cjs/loader.js:786:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
        at Module.load (internal/modules/cjs/loader.js:645:32) {
      code: 'MODULE_NOT_FOUND',
      requireStack: [
        '/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js',
        '/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/index.js',
        '/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_helper.js',
        '/home/pi/MagicMirror/js/app.js',
        '/home/pi/MagicMirror/js/electron.js',
        '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
        undefined
      ]
    }
    [2020-11-14 17:35:08.272] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    [2020-11-14 17:35:08.273] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    


  • @raf thats the cause of the black screen, I don’t see any info on fixing it expect this note

    Don't forget to do ALL electron-rebuild steps.
    

    so, lets try

    cd ~/MagicMirror
    npm install electron-rebuild
    cd modules/MMM-GoogleAssistant
    ~/MagicMirror/node_modules/.bin/electron-rebuild
    

    then try to start MM again



  • @sdetweil
    okay Sam thanks again it works back


Log in to reply