• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MMM-awesome-alexa

Scheduled Pinned Locked Moved Utilities
241 Posts 43 Posters 294.0k Views 47 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 Jun 26, 2020, 10:16 PM

    @sdetweil Wait flushing

    1 Reply Last reply Reply Quote 0
    • U Offline
      uok825 @sdetweil
      last edited by Jun 26, 2020, 10:30 PM

      @sdetweil 0|MagicMir | [2020-06-27 01:24:01.211] [ERROR] WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: ReferenceError: Europe is not defined
      0|MagicMir | at Object. (/home/pi/MagicMirror/config/config.js:126:15)
      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 loadConfig (/home/pi/MagicMirror/js/app.js:69:12)
      0|MagicMir | at App.start (/home/pi/MagicMirror/js/app.js:210:3)
      0|MagicMir | [2020-06-27 01:24:03.383] [ERROR] { Error: listen EADDRINUSE: address already in use 127.0.0.1:8080
      0|MagicMir | at Server.setupListenHandle [as _listen2] (net.js:1280:14)
      0|MagicMir | at listenInCluster (net.js:1328:12)
      0|MagicMir | at GetAddrInfoReqWrap.doListen [as callback] (net.js:1461:7)
      0|MagicMir | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:61:10)
      0|MagicMir | code: ‘EADDRINUSE’,
      0|MagicMir | errno: ‘EADDRINUSE’,
      0|MagicMir | syscall: ‘listen’,
      0|MagicMir | address: ‘127.0.0.1’,
      0|MagicMir | port: 8080 }

      /home/pi/.pm2/logs/MagicMirror-out.log last 200 lines:
      0|MagicMir |
      0|MagicMir | > magicmirror@2.11.0 start /home/pi/MagicMirror
      0|MagicMir | > ./run-start.sh $1
      0|MagicMir |
      0|MagicMir | [2020-06-27 01:24:01.042] [LOG] Starting MagicMirror: v2.11.0
      0|MagicMir | [2020-06-27 01:24:01.170] [LOG] Loading config …
      0|MagicMir | [2020-06-27 01:24:01.223] [LOG] Loading module helpers …
      0|MagicMir | [2020-06-27 01:24:01.652] [LOG] Initializing new module helper …
      0|MagicMir | [2020-06-27 01:24:01.664] [LOG] Module helper loaded: updatenotification
      0|MagicMir | [2020-06-27 01:24:01.679] [LOG] No helper found for module: helloworld.
      0|MagicMir | [2020-06-27 01:24:01.691] [LOG] All module helpers loaded.
      0|MagicMir | [2020-06-27 01:24:02.810] [LOG] Starting server on port 8080 …
      0|MagicMir | [2020-06-27 01:24:02.948] [LOG] Server started …
      0|MagicMir | [2020-06-27 01:24:02.960] [LOG] Connecting socket for: updatenotification
      0|MagicMir | [2020-06-27 01:24:02.973] [LOG] Sockets connected & modules started …
      0|MagicMir | [2020-06-27 01:24:02.984] [LOG]
      0|MagicMir | Ready to go! Please point your browser to: http://localhost:8080
      0|MagicMir | Starting chromium browser now, have patience, it takes a minute
      0|MagicMir | [2020-06-27 01:24:03.350] [LOG] Whoops! There was an uncaught exception…
      0|MagicMir | [2020-06-27 01:24:03.495] [LOG] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|MagicMir | [2020-06-27 01:24:03.513] [LOG] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

      S 1 Reply Last reply Jun 26, 2020, 10:34 PM Reply Quote 0
      • S Away
        sdetweil @uok825
        last edited by sdetweil Jun 26, 2020, 10:34 PM Jun 26, 2020, 10:34 PM

        @uok825

         Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: ReferenceError: Europe is not defined
        

        so, u gotta fix this, PM2 keeps restarting…

        i don’t want you to use pm2 to test
        do

        pm2 stop  all
        

        then

        cd ~/MagicMirror
        npm run config:check
        

        find and fix error
        if no error, then

        npm start 
        

        verify working

        ctrl-c to exit MM

        then pm2 start

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        U 1 Reply Last reply Jun 26, 2020, 10:48 PM Reply Quote 0
        • U Offline
          uok825 @sdetweil
          last edited by uok825 Jun 26, 2020, 10:49 PM Jun 26, 2020, 10:48 PM

          @sdetweil config is running correct but
          f8dbf5a8-4898-4767-bf30-68904ab37903-image.png
          917c11da-74bf-4469-b69a-a6402db2db41-image.png
          It causes by Screencast maybe?
          My config
          2318d51c-9f17-4939-8dbc-7ea9564ee016-image.png

          S 1 Reply Last reply Jun 26, 2020, 10:49 PM Reply Quote 0
          • S Away
            sdetweil @uok825
            last edited by sdetweil Jun 26, 2020, 10:51 PM Jun 26, 2020, 10:49 PM

            @uok825 you still have something running using port 8080…

            disable the modules one by one

            add

              module: name, 
              disabled: true,             // < --- add this
              config: { 
            

            i don’t know anything about the modules themselves…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            U 2 Replies Last reply Jun 26, 2020, 10:50 PM Reply Quote 0
            • U Offline
              uok825 @sdetweil
              last edited by Jun 26, 2020, 10:50 PM

              @sdetweil Maybe screencast?

              1 Reply Last reply Reply Quote 0
              • U Offline
                uok825 @sdetweil
                last edited by Jun 26, 2020, 11:00 PM

                @sdetweil Disabled all but nothing change
                760822e8-384c-4498-a29e-b591709109be-image.png

                S 1 Reply Last reply Jun 26, 2020, 11:03 PM Reply Quote 0
                • S Away
                  sdetweil @uok825
                  last edited by Jun 26, 2020, 11:03 PM

                  @uok825

                  try this , see who is listening on 8080

                  netstat -ltnp | grep -w ':8080' 
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  U 1 Reply Last reply Jun 26, 2020, 11:04 PM Reply Quote 0
                  • U Offline
                    uok825 @sdetweil
                    last edited by uok825 Jun 26, 2020, 11:04 PM Jun 26, 2020, 11:04 PM

                    @sdetweil a2c3d448-82f6-4ed9-9887-b890a1a3aa80-image.png
                    Nothing

                    S 1 Reply Last reply Jun 26, 2020, 11:05 PM Reply Quote 0
                    • S Away
                      sdetweil @uok825
                      last edited by Jun 26, 2020, 11:05 PM

                      @uok825 ok, then

                      change the port value in config.js to 8090

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      U 1 Reply Last reply Jun 26, 2020, 11:09 PM Reply Quote 0
                      • 1
                      • 2
                      • 12
                      • 13
                      • 14
                      • 15
                      • 16
                      • 24
                      • 25
                      • 14 / 25
                      14 / 25
                      • First post
                        138/241
                        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