Magicmirror: add new Module .. black screen

Created on 5 May 2016  路  6Comments  路  Source: MichMich/MagicMirror

Hi guys

Can someone help me? My Mirror works perfekt, but if I install a new module i get a blackscreen.
I install the module from bangee44/MMM-swisstransport.. i done it like this...

  1. cd MagicMirror\modules
  2. git clone https://github.com/Bangee44/MMM-swisstransport.git
  3. cd MagicMirror
  4. npm install
  5. edit config.js added this lines...
    {
        module: 'swisstransport',
        position: 'bottom_left',
        header: 'Zugverbindungen',
        config: {
            id: '008503203', // Trainstation ID
            maximumEntries: '10', // Max departures displayed
        }
    },

  1. cd MagicMirror
  2. DISPLAY=:0 nohup npm start &
    and I get just a black screen..

see log file:

> [email protected] start /home/pi/MagicMirror
> electron js/electron.js

Loading config ...
Loading module helpers ...
No helper found for module: alert.
No helper found for module: clock.
Initializing new module helper ...
No helper found for module: compliments.
No helper found for module: currentweather.
No helper found for module: weatherforecast.
Initializing new module helper ...
All module helpers loaded.
Starting server op port 8080 ... 
Server started ...
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 :::8080]
  code: 'EADDRINUSE',
  errno: 'EADDRINUSE',
  syscall: 'listen',
  address: '::',
  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.
Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/xxxxxxxxxxxxx.com/private-xxxxxxxxxxxxxxxxxxxx/basic.ics - Interval: 300000
Create new news fetcher for url: http://www.nzz.ch/feeds/recent.rss - Interval: 300000
Use exsisting news fetcher for url: http://www.nzz.ch/feeds/recent.rss

What do I wrong?
Thanks a lot for any help!

Most helpful comment

Just watch out if Bangee44 should change his naming that it still works when you update!
No problem just want to keep some work away from Michael :)

All 6 comments

There seem to be another program running on port 8080.
Please use the forum if you need help so that Michael does not have so much issues that aren't real issues but people needing help :)

use git clone https://github.com/Bangee44/MMM-swisstransport.git swisstransport instead.

The name of the module in the config must be the same as the name of the folder the module is in and the main js file of the module and the name this module is registered under.

I opened an Issue on his repo, since you should not need to rename it yourself.

Hi guys

Thanks a lot.... I use your link @CFenner and it works now.
@paviro sorry... next time I will post my issues in the forum.

THX!

Just watch out if Bangee44 should change his naming that it still works when you update!
No problem just want to keep some work away from Michael :)

Was this page helpful?
0 / 5 - 0 ratings