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.

    auto-booting but no modules (no warning with config file)

    Scheduled Pinned Locked Moved Solved Troubleshooting
    24 Posts 2 Posters 7.1k 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.
    • W Offline
      will23110
      last edited by

      So I turned off my mirror last night as per usual and turned it back on this morning to find that the modules aren’t loading, I don’t have a notification saying that I had an error with the config.js folder, the thing autoboots then shows absolutely nothing, I am running the latest version, I ran npm audit which showed 7 low, 1 medium, 1 high, so I ran npm audit fix, now I only have 5 low… but it still isn’t working… Any suggestions where to look or what to potentially do that doesn’t involve starting again??

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

        @will23110 from the console of your pi, or over ssh, run

        npm start dev
        

        from the MagicMirror folder
        open the console tab, and look for errors, red text

        usually when a module crashes, the mirror will go black

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • W Offline
          will23110
          last edited by

          so I’ve run that and in the top right corner it says 3 errors and 2 warnings, I just don’t understand why it would do this overnight, it was working perfectly last night

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

            @will23110 select the console tab to scroll the list

            no idea, something changed

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • W Offline
              will23110
              last edited by

              yeah, shame though I’d only just perfected it ahah, so the three errors are

              • Uncaught SyntaxError: Invalid or unexpected token (translator.js:1)
              • Uncaught SyntaxError: Invalid or unexpected token (loader.js:1
              • Uncaught ReferenceError: Translator is not defined (misn.js:452)
                at Object.init (main.js:425)
                at main.js:580
                and then a couple of security warning that I can probably (hopefully) fix.
              S 2 Replies Last reply Reply Quote 0
              • S Offline
                sdetweil @will23110
                last edited by

                @will23110 said in auto-booting but no modules (no warning with config file):

                Uncaught SyntaxError: Invalid or unexpected token (translator.js:1)
                Uncaught SyntaxError: Invalid or unexpected token (loader.js:1

                so, I would use some editor to look at these two files in

                MagicMirror/js

                line 1 of each is a comment (/* */)

                maybe there was an error on the memory card when u rebooted…

                Uncaught ReferenceError: Translator is not defined (misn.js:452)

                this error is because of the prior error on the translator.js file

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • W Offline
                  will23110
                  last edited by

                  so I’ve got translator.js open, it says at the top

                  /* global config, vendor, MM, Module */
                  /* MagicMirror
                   * Module and file loaders.
                   * Etc...
                  

                  should it be

                   /* global config, vendor, MM, Module */
                   /* MagicMirror*/
                   /* Module and file loaders.*/
                   /* Etc...
                  
                  S 1 Reply Last reply Reply Quote 0
                  • W Offline
                    will23110
                    last edited by

                    but in the repository for MagicMirror on github its the same, how do I quickly check for differences instead of having to go through the entire thing and comparing to another file

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

                      @will23110 no, 1st is ok

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @will23110 compare, i do not know

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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