Bugsounet Coding

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

    Solved MMM-Tools is not being displayed after update to MM 2.17.1

    MMM-Tools
    3
    10
    153
    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.
    • N
      nsign last edited by

      Hi,
      i recently updated from 2.16.0 to 2.17.1 and MMM-Tools stopped being displayed on my mirror. All other modules are beeing displayed.

      These are the errors I found in the log:

      0|MagicMirror  | [04.10.2021 09:07.15.554] [ERROR] 
      0|MagicMirror  | (node:13630) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (1)
      0|MagicMirror  |     at Object.writeFile (fs.js:1436:5)
      0|MagicMirror  |     at /home/pi/MagicMirror/modules/MMM-Tools/node_helper.js:308:29
      0|MagicMirror  |     at new Promise (<anonymous>:null:null)
      0|MagicMirror  |     at Class.getRecordUptime (/home/pi/MagicMirror/modules/MMM-Tools/node_helper.js:295:12)
      0|MagicMirror  |     at Class.startScan (/home/pi/MagicMirror/modules/MMM-Tools/node_helper.js:50:54)
      0|MagicMirror  |     at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Tools/node_helper.js:45:12)
      0|MagicMirror  |     at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:109:11)
      0|MagicMirror  |     at Socket.emit (events.js:315:20)
      0|MagicMirror  |     at Socket.emitUntyped (/home/pi/MagicMirror/node_modules/socket.io/dist/typed-events.js:69:22)
      0|MagicMirror  |     at /home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:428:39
      0|MagicMirror  |     at processTicksAndRejections (internal/process/task_queues.js:75:11)
      0|MagicMirror  | (Use `electron --trace-warnings ...` to show where the warning was created)
      0|MagicMirror  | [04.10.2021 09:07.15.557] [ERROR] (node:13630) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
      0|MagicMirror  | [04.10.2021 09:07.15.562] [ERROR] 
      0|MagicMirror  | (node:13630) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
      
      

      How could that be solved?
      Thanks in advance,

      1 Reply Last reply Reply Quote 0
      • D
        DJB1966 Helpers last edited by

        Have you tried npm install to reinstall?

        1 Reply Last reply Reply Quote 0
        • N
          nsign last edited by

          Yes, I did. I even deleted and re-installed the module from scratch.

          1 Reply Last reply Reply Quote 0
          • D
            DJB1966 Helpers last edited by

            can you try

            cd MagicMirror/modules/MMM-Tools
            npm init -y && npm install request --save -y
            
            1 Reply Last reply Reply Quote 0
            • N
              nsign last edited by

              I just tried it, but still not displayed and the same errors in the log.

              1 Reply Last reply Reply Quote 0
              • D
                DJB1966 Helpers last edited by

                so your saying Tools is not displaying or you MM is not?

                1 Reply Last reply Reply Quote 0
                • N
                  nsign last edited by

                  Only Tools is not being displayed, all other modules are being displayed.

                  1 Reply Last reply Reply Quote 0
                  • D
                    DJB1966 Helpers last edited by

                    im at work so loging off soon have you check config mmm-tools location

                    1 Reply Last reply Reply Quote 0
                    • N
                      nsign last edited by

                      I have nothing changed in config.js. Here is my config for Tools, which remained unchanged for months:
                      ‘’’
                      {
                      module: “MMM-Tools”,
                      header: “System”,
                      disabled: false,
                      position: “top_right”,
                      config: {
                      refresh: 1000 * 5,
                      containerSize: null,
                      itemSize: null
                      }
                      },
                      ‘’’

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

                        Hi, you have request help in MichMich’s forum

                        So don’t duplicate and wait response on it but not there

                        I don’t like your method
                        Good luck to you
                        🔒

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