MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

Blank Screen after reboot



  • 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.



  • @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,
    ^^^^^^^^^
    


  • @anishfer

    SyntaxError: Unexpected identifier
    at

    usually means a missing trailing comma on the previous line



  • @ashishtank thanks


Log in to reply