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.

    After update WARNING! Could not load config file.

    Scheduled Pinned Locked Moved Troubleshooting
    28 Posts 2 Posters 4.9k 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.
    • U Offline
      uok825 @sdetweil
      last edited by

      @sdetweil

      0|MagicMir | [2020-07-13 18:04:01.849] [ERROR]  WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: ReferenceError: NodeHelper is not defined
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR/node_helper.js:11:18)
      0|MagicMir |     at Module._compile (internal/modules/cjs/loader.js:778:30)
      0|MagicMir |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
      0|MagicMir |     at Module.load (internal/modules/cjs/loader.js:653:32)
      0|MagicMir |     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
      0|MagicMir |     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
      0|MagicMir |     at Module.require (internal/modules/cjs/loader.js:692:17)
      0|MagicMir |     at require (internal/modules/cjs/helpers.js:25:18)
      0|MagicMir |     at loadModule (/home/pi/MagicMirror/js/app.js:124:17)
      0|MagicMir |     at loadNextModule (/home/pi/MagicMirror/js/app.js:158:5)
      0|MagicMir | [2020-07-13 18:04:02.059] [ERROR]  Whoops! There was an uncaught exception...
      0|MagicMir | [2020-07-13 18:04:02.071] [ERROR]  ReferenceError: NodeHelper is not defined
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR/node_helper.js:11:18)
      0|MagicMir |     at Module._compile (internal/modules/cjs/loader.js:778:30)
      0|MagicMir |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
      0|MagicMir |     at Module.load (internal/modules/cjs/loader.js:653:32)
      0|MagicMir |     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
      0|MagicMir |     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
      0|MagicMir |     at Module.require (internal/modules/cjs/loader.js:692:17)
      0|MagicMir |     at require (internal/modules/cjs/helpers.js:25:18)
      0|MagicMir |     at loadModule (/home/pi/MagicMirror/js/app.js:124:17)
      0|MagicMir |     at loadNextModule (/home/pi/MagicMirror/js/app.js:158:5)
      0|MagicMir | [2020-07-13 18:04:02.143] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|MagicMir | [2020-07-13 18:04:02.145] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      
      

      Same

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

        @uok825 what a mess.

        so. now I think u need to erase module folder and then reinstall module. the two back recovery mechanisms don’t work

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        U 2 Replies Last reply Reply Quote 0
        • U Offline
          uok825 @sdetweil
          last edited by

          @sdetweil ok

          1 Reply Last reply Reply Quote 0
          • U Offline
            uok825 @sdetweil
            last edited by

            @sdetweil Not working

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

              @uok825 man what a pain,

              ok, delete the module folder (MMM-PIR) and then reclone and npm install

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              U 1 Reply Last reply Reply Quote 0
              • U Offline
                uok825 @sdetweil
                last edited by

                @sdetweil I already did and my relay is not working i was pissed of so much.
                i need to unbuilt my mirror :(
                and my weather forecast shows 2 day
                9f1e6456-8c62-4df0-8d58-4bef1c17093e-image.png

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

                  @uok825 2 days, bug, switch to develop branch

                  cd ~/MagicMirror
                  git fetch origin develop:develop
                  git checkout develop
                  

                  then restart MM

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  U 1 Reply Last reply Reply Quote 0
                  • U Offline
                    uok825 @sdetweil
                    last edited by

                    @sdetweil 2e5899db-9c1a-4f06-a725-e8e4b9316c61-image.png

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

                      @uok825
                      do

                      # remove tracked file, un-needed
                      rm package-lock.json
                      # save the package.json changes
                      git stash
                      # switch to the other branch
                      git checkout develop
                      # restore the package.json file
                      git stash pop
                      

                      restart mm

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      U 1 Reply Last reply Reply Quote 1
                      • U Offline
                        uok825 @sdetweil
                        last edited by

                        @sdetweil in mm folder right?

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