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.

    Mirror not displaying any modules

    Scheduled Pinned Locked Moved Troubleshooting
    16 Posts 7 Posters 4.4k Views 6 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
      SamBro2901 @sdetweil
      last edited by SamBro2901

      @sdetweil I did a manual install doing git clone and then npm install on raspbian and no, I haven’t used pm2 to run my instance, is that what I am doing wrong?
      Also, what about the error I get when running the config check?

      1 Reply Last reply Reply Quote 0
      • S Offline
        SamBro2901 @MichMich
        last edited by

        @MichMich I changed the port in the config.js and it works perfectly fine now, thanks for the help and for this wonderful project :)

        ? 1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User @SamBro2901
          last edited by

          @SamBro2901 I’m getting this same error. What did you change the port to?

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

            @ktvoort123 pick a port, add one or 10, or 100.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • Eric_HE Offline
              Eric_H
              last edited by

              Same here.
              @MichMich this started after I updated my Raspbian to the latest, and now getting this error that I cannot resolve:

              > node js/check_config.js
              
              [2020-07-23 17:51:02.700] [INFO]   Checking file...  /home/pi/MagicMirror/config/config.js
              [2020-07-23 17:51:03.283] [LOG]    Line 1 col 1 Definition for rule 'prettier/prettier' was not found.
              /home/pi/MagicMirror/js/check_config.js:66
                                      throw new Error("Wrong syntax in config file!");
                                      ^
              
              Error: Wrong syntax in config file!
                  at /home/pi/MagicMirror/js/check_config.js:66:10
                  at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
              

              I’d appreciate an advise.

              Thank you.

              BKeyportB 1 Reply Last reply Reply Quote 0
              • BKeyportB Offline
                BKeyport Module Developer @Eric_H
                last edited by

                @Eric_H config:check hasn’t worked as of 2.12.

                Gonna have to manually run through for now.

                The "E" in "Javascript" stands for "Easy"

                Eric_HE 1 Reply Last reply Reply Quote 1
                • Eric_HE Offline
                  Eric_H @BKeyport
                  last edited by

                  @BKeyport Thank you

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

                    @SamBro2901 did u install w my script? or manually?

                    the already in use means something else on your system is using the networking setup mm needs.

                    maybe u have another instance running…
                    do

                    pm2 status
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @SamBro2901 do this

                      sudo netstat -a | grep 8080
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • I Offline
                        itx
                        last edited by itx

                        Hi,

                        same here. Rebooted RasPi many times, changed port in config file to 9080 but mirror is not displaying anything.

                        Output is still the same:

                        pi@magicmirror:~/MagicMirror $ npm run config:check
                        
                        > magicmirror@2.12.0 config:check /home/pi/MagicMirror
                        > node js/check_config.js
                        
                        [2020-08-07 09:53:37.955] [INFO]   Checking file...  /home/pi/MagicMirror/config/config.js
                        [2020-08-07 09:53:38.247] [LOG]    Line 1 col 1 Definition for rule 'prettier/prettier' was not found.
                        /home/pi/MagicMirror/js/check_config.js:66
                        			throw new Error("Wrong syntax in config file!");
                        			^
                        
                        Error: Wrong syntax in config file!
                            at /home/pi/MagicMirror/js/check_config.js:66:10
                            at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
                        npm ERR! code ELIFECYCLE
                        npm ERR! errno 1
                        npm ERR! magicmirror@2.12.0 config:check: `node js/check_config.js`
                        npm ERR! Exit status 1
                        npm ERR! 
                        npm ERR! Failed at the magicmirror@2.12.0 config:check 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/2020-08-07T07_53_38_325Z-debug.log
                        

                        What else can I try?

                        S 2 Replies 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