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

Updated to MM v2.6.0 now all I get is only a black Electron screen...



  • So I did the update and ended up with the black empty screen.

    I then made backup of my config and modules and deleted the whole MagicMirror folder to make a fresh install.
    I keep getting the black empty Electron screen and this with everything default (no custom config, no custom modules added yet)… 😞

    Ran also sudo apt-get update and sudo apt-get upgrade

    Here is what comes up from the console:

    pi@raspberrypi:~/MagicMirror $ npm start
    
    > magicmirror@2.6.0 start /home/pi/MagicMirror
    > sh run-start.sh
    
    Starting MagicMirror: v2.6.0
    Loading config ...
    Loading module helpers ...
    No helper found for module: alert.
    Initializing new module helper ...
    Module helper loaded: updatenotification
    No helper found for module: clock.
    Initializing new module helper ...
    Module helper loaded: calendar
    No helper found for module: compliments.
    No helper found for module: currentweather.
    No helper found for module: weatherforecast.
    Initializing new module helper ...
    Module helper loaded: newsfeed
    All module helpers loaded.
    Starting server on port 8080 ... 
    Server started ...
    Connecting socket for: updatenotification
    Connecting socket for: calendar
    Starting node helper for: calendar
    Connecting socket for: newsfeed
    Starting module: newsfeed
    Sockets connected & modules started ...
    Whoops! There was an uncaught exception...
    { Error: listen EADDRINUSE 127.0.0.1:8080
        at Object._errnoException (util.js:1024:11)
        at _exceptionWithHostPort (util.js:1046:20)
        at Server.setupListenHandle [as _listen2] (net.js:1351:14)
        at listenInCluster (net.js:1392:12)
        at GetAddrInfoReqWrap.doListen [as callback] (net.js:1501:7)
        at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:97:10)
      code: 'EADDRINUSE',
      errno: 'EADDRINUSE',
      syscall: 'listen',
      address: '127.0.0.1',
      port: 8080 }
    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    Launching application.
    

    Please help as my mirror is almost done. 😖



  • @cr4z33 said in Updated to MM v2.6.0 now all I get is only a black Electron screen...:

    { Error: listen EADDRINUSE 127.0.0.1:8080

    means some other app is using port 8080…
    I would reboot



  • @sdetweil doh how could I not think about it lol! 🤣 🤣

    Thanks working now!



  • @cr4z33 great!.. can u mark your problem as closed…



  • @sdetweil done.


  • Module Developer

    In case someone else has this problem, instead of rebooting just run the following in your terminal:

    kill -9 $(lsof -t -i :8080)
    

    That’ll kill the current process on port 8080.



  • or kill all node related

    ps -ef | grep node | awk  '{print $2}' | xargs kill -9