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.

    Wish i never updated to 2.7.1 Black Screen!

    Scheduled Pinned Locked Moved Solved Troubleshooting
    19 Posts 2 Posters 6.4k 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
      sdetweil @dazza120
      last edited by

      @dazza120 slow down

      What errors. Let’s work thru ut

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        dazza120 @sdetweil
        last edited by

        @sdetweil hi mate im getting this from MMM-pages

        npm WARN MMM-pages No repository field.
        npm WARN MMM-pages No license field.
        
        audited 275 packages in 6.448s
        found 0 vulnerabilities
        
        

        and this from mmm-hue-lights and a couple of others

        npm WARN saveError ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json'
        npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json'
        npm WARN modules No description
        npm WARN modules No repository field.
        npm WARN modules No README data
        npm WARN modules No license field.
        
        audited 1 package in 1.465s
        found 0 vulnerabilities
        
        
        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil
          last edited by

          hue-lights doesn’t have a package.json, so no npm install there

          npm WARN MMM-pages No repository field.
          npm WARN MMM-pages No license field.

          package.json doesn’t have some typically useful fields… no problems

          so, one thing to try also is

          npm start &

          which will start MM AND give u back the terminal window…

          I get lots of messages as things start up there…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            dazza120 @sdetweil
            last edited by

            @sdetweil this is what i get

            npm start &
            [1] 1352
            pi@raspberrypi:~ $ npm ERR! path /home/pi/package.json
            npm ERR! code ENOENT
            npm ERR! errno -2
            npm ERR! syscall open
            npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
            npm ERR! enoent This is related to npm not being able to find a file.
            npm ERR! enoent 
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/pi/.npm/_logs/2019-04-02T22_38_46_083Z-debug.log
            
            
            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil
              last edited by

              @dazza120 said in Wish i never updated to 2.7.1 Black Screen!:

              pi@raspberrypi

              but u have to start in MagicMirror folder

              cd ~/MagicMirror
              npm start &

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Reply Quote 1
              • D Offline
                dazza120 @sdetweil
                last edited by

                @sdetweil right thanks here it is

                pi@raspberrypi:~/MagicMirror $ npm start &
                [1] 1486
                pi@raspberrypi:~/MagicMirror $ 
                > magicmirror@2.6.0 start /home/pi/MagicMirror
                > sh run-start.sh
                
                Starting MagicMirror: v2.6.0
                Loading config ...
                Loading module helpers ...
                No helper found for module: MMM-pages.
                No helper found for module: MMM-page-indicator.
                Initializing new module helper ...
                Module helper loaded: MMM-Remote-Control-Repository
                No helper found for module: alert.
                Initializing new module helper ...
                Module helper loaded: MMM-Remote-Control
                No helper found for module: clock.
                WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'lmtool'
                Loading module helpers ...
                No helper found for module: MMM-pages.
                No helper found for module: MMM-page-indicator.
                Initializing new module helper ...
                Module helper loaded: MMM-Remote-Control-Repository
                No helper found for module: alert.
                Initializing new module helper ...
                Module helper loaded: MMM-Remote-Control
                No helper found for module: clock.
                App threw an error during load
                Error: Cannot find module 'lmtool'
                    at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
                    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
                    at Function.Module._load (internal/modules/cjs/loader.js:528:25)
                    at Module.require (internal/modules/cjs/loader.js:658:17)
                    at require (internal/modules/cjs/helpers.js:20:18)
                    at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-voice/node_helper.js:32:16)
                    at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-voice/node_helper.js:373: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)
                Whoops! There was an uncaught exception...
                { Error: Cannot find module 'lmtool'
                    at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
                    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
                    at Function.Module._load (internal/modules/cjs/loader.js:528:25)
                    at Module.require (internal/modules/cjs/loader.js:658:17)
                    at require (internal/modules/cjs/helpers.js:20:18)
                    at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-voice/node_helper.js:32:16)
                    at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-voice/node_helper.js:373: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) 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.
                
                
                
                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @dazza120
                  last edited by sdetweil

                  @dazza120 ok, just want to check again…

                  after doing the git pull in the MM folder
                  you then
                  did npm install while in the MM folder, right? you must

                  as you have MMM-voice installed
                  u need to do npm install there too

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    dazza120 @sdetweil
                    last edited by

                    @sdetweil Hi yes i done that but for some reason its stayed on 2.6.0 and said that was the latest version is there anyway to push it to install the latest version i have done git hard rest but dont know where to go form there.

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @dazza120
                      last edited by

                      @dazza120 git reset hard blows you back to the last time u did a git pull

                      then u do a git pull to get the latest
                      then npm install
                      then npm install in any module folder that has a package.json file

                      snowboy (MMM-voice and MMM-Hotword) is a pain in the rear…
                      usually requires a special command (electron-rebuild) to rebuild some part at the new electron level…
                      see instructions in MMM-Hotword

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      D 1 Reply Last reply Reply Quote 0
                      • D Offline
                        dazza120 @sdetweil
                        last edited by dazza120

                        @sdetweil Yeah it isn’t installing the new MM it says its on the latest version 2.6.0 not 2.7.1 I get to this HEAD is now at b508a62 Merge pull request #1632 from MichMich/fix-2.7.1 and then when i do git pull it says its already on the latest :(

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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