Bugsounet Coding

    • Register
    • Login
    • Search
    This Forum is now reserved to registred users!

    Black screen after MMM-Tools installation

    MMM-Tools
    2
    4
    283
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dimasua Donators last edited by

      Hi Thomas, as suggested, I’m moving here the topic regarding black screen. So I got the logs from pm2:

      home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
      0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Tools/node_helper.js:11:12)
      0|MagicMir | at Module._compile (internal/modules/cjs/loader.js:968:30)
      0|MagicMir | at Object.Module._extensions…js (internal/modules/cjs/loader.js:986:10) {
      0|MagicMir | code: ‘MODULE_NOT_FOUND’,
      0|MagicMir | requireStack: [
      0|MagicMir | ‘/home/pi/MagicMirror/modules/MMM-Tools/node_helper.js’,
      0|MagicMir | ‘/home/pi/MagicMirror/js/app.js’,
      0|MagicMir | ‘/home/pi/MagicMirror/js/electron.js’,
      0|MagicMir | ‘/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js’,
      0|MagicMir | undefined
      0|MagicMir | ]
      0|MagicMir | }
      0|MagicMir | [17.03.2021 14:12.04.633] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|MagicMir | [17.03.2021 14:12.04.634] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|MagicMir | [17.03.2021 14:12.04.889] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently “false”. It will change to be “true” in Electron 9. For more information please check https://github.com/electron/electron/issues/18397

      1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by

        hi, can you try to reinstall the module with this commands:

        cd ~/MagicMirror/modules/MMM-Tools
        git pull
        rm -rf package-lock.json node_modules
        npm install
        

        naturaly give me the result of this commands

        Note: the main library of this module seams to not be installed (or installed with an error)
        what why you have this error on pm2

        1 Reply Last reply Reply Quote 0
        • D
          dimasua Donators last edited by

          Hi, I have solved the issue already by running npm install inside the folder. It seems that before I run this command in the modules folder. Now everything is working.

          1 Reply Last reply Reply Quote 0
          • bugsounet
            bugsounet Main Coder last edited by

            perfect so 🙂

            1 Reply Last reply Reply Quote 0
            • Moved from by  bugsounet bugsounet 
            • First post
              Last post
            Powered by NodeBB | @bugsounet ©2022