MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    I'm tired with Magic Mirror 6 update

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 2 Posters 2.0k Views 2 Watching
    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.
    • S Offline
      Smotx
      last edited by

      So i have try

      pi@raspmagicmirror1:~/MagicMirror $ npm install electron
      

      and now :

      > electron@2.0.18 postinstall /home/pi/MagicMirror/node_modules/electron
      > node install.js
      
      internal/modules/cjs/loader.js:550
          throw err;
          ^
      
      Error: Cannot find module '../dotjs/validate'
          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)
          at Function.Module._load (internal/modules/cjs/loader.js:475:25)
          at Module.require (internal/modules/cjs/loader.js:598:17)
          at require (internal/modules/cjs/helpers.js:11:18)
          at Object.<anonymous> (/home/pi/MagicMirror/node_modules/ajv/lib/compile/index.js:8:25)
          at Module._compile (internal/modules/cjs/loader.js:654:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
          at Module.load (internal/modules/cjs/loader.js:566:32)
          at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
          at Function.Module._load (internal/modules/cjs/loader.js:498:3)
      npm WARN grunt-stylelint@0.10.0 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.
      
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! electron@2.0.18 postinstall: `node install.js`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the electron@2.0.18 postinstall script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2019-03-09T16_57_50_712Z-debug.log
      

      :(

      1 Reply Last reply Reply Quote 0
      • S Offline
        Smotx
        last edited by

        LOOOOL.

        Sooo i try

        pi@raspmagicmirror1:~/MagicMirror $ npm install stylelint@^9.0.0
        

        and result… tada … !

        > electron@2.0.16 postinstall /home/pi/MagicMirror/node_modules/electron
        > node install.js
        
        internal/modules/cjs/loader.js:550
            throw err;
            ^
        
        Error: Cannot find module '../dotjs/validate'
            at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)
            at Function.Module._load (internal/modules/cjs/loader.js:475:25)
            at Module.require (internal/modules/cjs/loader.js:598:17)
            at require (internal/modules/cjs/helpers.js:11:18)
            at Object.<anonymous> (/home/pi/MagicMirror/node_modules/ajv/lib/compile/index.js:8:25)
            at Module._compile (internal/modules/cjs/loader.js:654:30)
            at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
            at Module.load (internal/modules/cjs/loader.js:566:32)
            at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
            at Function.Module._load (internal/modules/cjs/loader.js:498:3)
        npm ERR! code ELIFECYCLE
        npm ERR! errno 1
        npm ERR! electron@2.0.16 postinstall: `node install.js`
        npm ERR! Exit status 1
        npm ERR!
        npm ERR! Failed at the electron@2.0.16 postinstall script.
        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/pi/.npm/_logs/2019-03-09T17_05_00_446Z-debug.log
        
        1 Reply Last reply Reply Quote 0
        • S Offline
          Smotx
          last edited by Smotx

          So :

          I have rename /MagicMirror/ to /BackMM/

          I have launch a new fresh install of MM 2.6

          Copy /modules/ , /config/ & /css/ from /BackMM/

          and launch MM

          It’s ok

          if it helps someone.

          *I have a little error, but i don’t know why.

          Starting node_helper.js for MMM-TPLink.
          Connecting socket for: MMM-Remote-Control
          Starting node helper for: MMM-Remote-Control
          Connecting socket for: MMM-AlexaOnOff
          Module helper started for MMM-AlexaOnOff
          Sockets connected & modules started ...
          Launching application.
          **ERROR! Could not find main module js file for modules
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property                                                'refs' of undefined
          (node:15900) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections tha                                               t are not handled will terminate the Node.js process with a non-zero exit code.
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property                                                'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property                                                'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): TypeError: Cannot read property                                                'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): TypeError: Cannot read property                                                'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): TypeError: Cannot read property                                                'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): TypeError: Cannot read property                                                'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 8): TypeError: Cannot read property                                                'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 9): TypeError: Cannot read property                                                'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 10): TypeError: Cannot read propert                                               y 'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 11): TypeError: Cannot read propert                                               y 'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 12): TypeError: Cannot read propert                                               y 'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 13): TypeError: Cannot read propert                                               y 'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 14): TypeError: Cannot read propert                                               y 'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 15): TypeError: Cannot read propert                                               y 'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 16): TypeError: Cannot read propert                                               y 'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 17): TypeError: Cannot read propert                                               y 'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 18): TypeError: Cannot read propert                                               y 'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 19): TypeError: Cannot read propert                                               y 'refs' of undefined
          (node:15900) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 20): TypeError: Cannot read propert                                               y 'refs' of undefined**
          Sat Mar 09 2019 18:49:08 GMT+0100 (CET): Triggering Xiaomi Gateway connect
          Create new news fetcher for url: https://www.francetvinfo.fr/monde.rss - Interval: 300000
          starting internet monitor node helper
          FREEBOX: "CONNECT" [object Object]
          ```*
          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Smotx
            last edited by

            @Smotx typically you also must npm install in each module folder if they have a package.json file so that their components are at the same level

            I would start with each module over the defaults and comment them out, and back in one by one

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              Smotx
              last edited by

              @sdetweil said in I'm tired with Magic Mirror 6 update:

              ypically you also must npm install in each module folder if they have a package.json file so that their components are at the same level
              I would start with each module over the defaults and comment them out, and back in one by one

              Ok, i’ll try

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy