Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new Module .. black screen #292

Closed
3vidar opened this issue May 5, 2016 · 6 comments
Closed

add new Module .. black screen #292

3vidar opened this issue May 5, 2016 · 6 comments

Comments

@3vidar
Copy link

3vidar commented May 5, 2016

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!

@paviro
Copy link
Contributor

paviro commented May 5, 2016 via email

@CFenner
Copy link
Contributor

CFenner commented May 5, 2016

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

@CFenner
Copy link
Contributor

CFenner commented May 5, 2016

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.

@paviro
Copy link
Contributor

paviro commented May 5, 2016

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

@3vidar
Copy link
Author

3vidar commented May 5, 2016

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!

@MichMich MichMich closed this as completed May 5, 2016
@paviro
Copy link
Contributor

paviro commented May 5, 2016

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants