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 8.3k 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 @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
              • W Offline
                will23110
                last edited by

                Okay, I’ll check through it and correct anything that may be wrong

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

                  so I had an idea to check through it fast, I copied the loader.js info off of github and paste it into the find (ctrl+f) window, the whole document is highlighted, meaning there are no errors… could it be something else??

                  1 Reply 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 ReferenceError: Translator is not defined (misn.js:452)

                    this one bothers me, I can’t find that file anywhere (misn.js), unless that is acut/paste/typo

                    based on the fact that files look ok, I would suggest doing an fsck (file system check) against the memory card

                    you will probably have to move it to another system to do that… windows cannot do it

                    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

                      how would I go about doing that on a pi?

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

                        @will23110 a google search says

                        https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=179361

                        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