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.

    Blank Screen after reboot

    Scheduled Pinned Locked Moved Bug Hunt
    4 Posts 3 Posters 571 Views 3 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.
    • A Offline
      anishfer
      last edited by

      magicmirror@2.13.0 start /home/pi/MagicMirror
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      [2021-01-01 21:22:56.446] [LOG] Starting MagicMirror: v2.13.0
      [2021-01-01 21:22:56.454] [LOG] Loading config …
      [2021-01-01 21:22:56.458] [ERROR] WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:76
      roundTemp: true,
      ^^^^^^^^^

      SyntaxError: Unexpected identifier
      at Module._compile (internal/modules/cjs/loader.js:722:23)
      at Object.Module._extensions…js (internal/modules/cjs/loader.js:798:10)
      at Module.load (internal/modules/cjs/loader.js:645:32)
      at Function.Module._load (internal/modules/cjs/loader.js:560:12)
      at Module.require (internal/modules/cjs/loader.js:685:19)
      at require (internal/modules/cjs/helpers.js:16:16)
      at loadConfig (/home/pi/MagicMirror/js/app.js:70:12)
      at App.start (/home/pi/MagicMirror/js/app.js:217:3)
      at Object. (/home/pi/MagicMirror/js/electron.js:129:7)
      at Module._compile (internal/modules/cjs/loader.js:786:30)
      [2021-01-01 21:22:56.459] [LOG] Loading module helpers …
      [2021-01-01 21:22:56.504] [LOG] Initializing new module helper …
      [2021-01-01 21:22:56.505] [LOG] Module helper loaded: updatenotification
      [2021-01-01 21:22:56.506] [LOG] No helper found for module: helloworld.
      [2021-01-01 21:22:56.507] [LOG] All module helpers loaded.
      [2021-01-01 21:22:56.639] [LOG] Starting server on port 8080 …
      [2021-01-01 21:22:56.653] [LOG] Server started …
      [2021-01-01 21:22:56.654] [LOG] Connecting socket for: updatenotification
      [2021-01-01 21:22:56.655] [LOG] Sockets connected & modules started …
      [2021-01-01 21:22:56.763] [ERROR] Whoops! There was an uncaught exception…
      [2021-01-01 21:22:56.764] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8080
      at Server.setupListenHandle [as _listen2] (net.js:1226:14)
      at listenInCluster (net.js:1274:12)
      at GetAddrInfoReqWrap.doListen [as callback] (net.js:1413:7)
      at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:65:10) {
      code: ‘EADDRINUSE’,
      errno: ‘EADDRINUSE’,
      syscall: ‘listen’,
      address: ‘127.0.0.1’,
      port: 8080
      }
      [2021-01-01 21:22:56.771] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [2021-01-01 21:22:56.772] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [2021-01-01 21:22:56.775] [LOG] Launching application.

      A S 2 Replies Last reply Reply Quote 0
      • A Offline
        ashishtank Module Developer @anishfer
        last edited by ashishtank

        @anishfer said in Blank Screen after reboot:

        Error: listen EADDRINUSE: address already in use 127.0.0.1:8080

        here is the clue Error: listen EADDRINUSE: address already in use 127.0.0.1:8080
        some other process or another instance of MM is using the 8080 port. so either you need to stop that application or need to use another port.
        You can use another port in config.js file by changing it to some other value.

        port: 8080,
        

        also looks like there are issues with config.js correct them as well.

        roundTemp: true,
        ^^^^^^^^^
        
        A 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @anishfer
          last edited by

          @anishfer

          SyntaxError: Unexpected identifier
          at

          usually means a missing trailing comma on the previous line

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • A Offline
            anishfer @ashishtank
            last edited by

            @ashishtank thanks

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