Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    Black Screen on Localhost...

    Troubleshooting
    6
    19
    8317
    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.
    • bhepler
      bhepler Project Sponsor @Leotrap last edited by bhepler

      @Leotrap This sounds like progress. Please copy your config.js file and let us see it. Please remember to remove any API keys and preface it with triple back-ticks.If you’re getting the interface but no modules, that sounds like a configuration error.

      1 Reply Last reply Reply Quote 0
      • L
        Leotrap last edited by

        So positive @bhepler it really encourage to go on with this instead this is not my native language… here the config.js… Thanks man! [0_1480680561947_config.js](Uploading 100%)

        1 Reply Last reply Reply Quote 0
        • L
          Leotrap last edited by

          Here it a copy paste because the Forum says that I have no such permission to upload this…

          /* Magic Mirror Config Sample
          *

          • By Michael Teeuw http://michaelteeuw.nl
          • MIT Licensed.
            */

          var config = {
          port: 8080,

          language: 'en',
          timeFormat: 24,
          units: 'metric',
          
          modules: [
          	{
          		module: 'alert',
          	},
          	{
          		module: 'clock',
          		position: 'top_left'
          	},
          	{
          		module: 'calendar',
          		header: 'US Holidays',
          		position: 'top_left',
          		config: {
          			calendars: [
          				{
          					symbol: 'calendar-check-o ',
          					url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
          				}
          			]
          		}
          	},
          	{
          		module: 'compliments',
          		position: 'lower_third'
          	},
          	{
          		module: 'currentweather',
          		position: 'top_right',
          		config: {
          			location: 'New York',
          			locationID: '',  //ID from http://www.openweathermap.org
          			appid: 'YOUR_OPENWEATHER_API_KEY'
          		}
          	},
          	{
          		module: 'weatherforecast',
          		position: 'top_right',
          		header: 'Weather Forecast',
          		config: {
                      location: 'New York',
          			locationID: '5128581',  //ID from http://www.openweathermap.org
                      appid: 'YOUR_OPENWEATHER_API_KEY'
          		}
          	},
          	{
          		module: 'newsfeed',
          		position: 'bottom_bar',
          		config: {
          			feeds: [
          				{
          					title: "New York Times",
          					url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
          				}
          			],
          			showSourceTitle: true,
          			showPublishDate: true
          		}
          	},
          ]
          

          };

          /*************** DO NOT EDIT THE LINE BELOW ***************/
          if (typeof module !== ‘undefined’) {module.exports = config;}

          1 Reply Last reply Reply Quote 0
          • L
            Leotrap last edited by

            Please Help… in this… I’ll start to cry… lol!

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @Leotrap last edited by A Former User

              @Leotrap

              I kept getting a blank screen too. Basically I commented out all of the modules and uncommented them back one by one. In the end, the calendar and newsfeed modules are not working and that’s what is giving me the black screen. I had to remove the following from the config file:

              {
              module: ‘calendar’,
              header: ‘US Holidays’,
              position: ‘top_left’,
              config: {
              calendars: [
              {
              symbol: 'calendar-check-o ',
              url: ‘webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics’
              }
              ]
              }
              },

              and

              {
              module: ‘newsfeed’,
              position: ‘bottom_bar’,
              config: {
              feeds: [
              {
              title: “New York Times”,
              url: “http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml”
              }
              ],
              showSourceTitle: true,
              showPublishDate: true
              }
              },

              1 Reply Last reply Reply Quote 0
              • C
                chrisyy last edited by

                Whenever i get an error when im trying sth i open the mirror-page in Firefox or chrome and open the console with a right click and the last item (examine or sth like this). Maybe this will hell you to know where sth could be wrong.

                1 Reply Last reply Reply Quote 0
                • L
                  Leotrap last edited by

                  @chrisyy and @memjr thanks for the responses… I have tried this and seems to not work… very strange I think that I should buy the raspberry to do this…seems to have problems in PC at least I never could see anything else that a black screen… what a pity…really

                  1 Reply Last reply Reply Quote 0
                  • C
                    chrisyy last edited by

                    Can u enable port forwarding (8080) to ur Pi/PC for the MagicMirror and PM me an IP?
                    Maybe I can take a look with the console. When there’s an error, maybe we can find out more.

                    1 Reply Last reply Reply Quote 0
                    • L
                      Leotrap last edited by

                      Thanks @chrisyy i’ll try… .that could work. Thanks!.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 2 / 2
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy