• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

New modules, don´t load

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 3 Posters 3.0k Views 3 Watching
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.
  • P Offline
    piedaniel
    last edited by Jun 22, 2016, 3:28 AM

    Hello everyone,

    When I insert new modules into the config.js, the MagicMirror don´t load nothing, just black screen. When I took out this new code, everything work fine.

    Ex: Copy the MMM-meteoblueCurrent repository into modules folder. Then on config.js insert the new code like this:

    ~~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 bulk.openweather.org/sample/
    appid: ‘YOUR_OPENWEATHER_API_KEY’
    }
    },
    {
    module: ‘weatherforecast’,
    position: ‘top_right’,
    header: ‘Weather Forecast’,
    config: {
    location: ‘New York’,
    locationID: ‘5128581’, //ID from bulk.openweather.org/sample/
    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
    		}
    	},
    	{
    		module: 'MMM-meteoblueCurrent',
    		position: 'bottom_left',
    		config: {
    			apikey: '123456789', // private; don't share!
    			city: 'Oberrieden',
    			lat: '47.2744',
    			lon: '8.5784',
    			asl: '464'
    		}
    	},
    ]
    

    ~~

    Result black screen without nothing. Take out the metroblue module code, everything work fine.

    ~~

      {
    	module: 'MMM-meteoblueCurrent',
    		position: 'bottom_left',
    		config: {
    			apikey: '123456789', // private; don't share!
    			city: 'Oberrieden',
    			lat: '47.2744',
    			lon: '8.5784',
    			asl: '464'
    		}
    	},
    

    ~~

    What I are missing??

    1 Reply Last reply Reply Quote 0
    • B Offline
      Bangee Module Developer
      last edited by Jun 22, 2016, 6:08 AM

      Can you show maybe show some error’s from the logs: pm2 logs mm
      Or do you use firebug when your testing you MM in your webbrowser?

      1 Reply Last reply Reply Quote 1
      • M Offline
        mochman Module Developer
        last edited by Jun 22, 2016, 12:27 PM

        @piedaniel Just quickly looking at your config.js, it looks like MMM-meteoblueCurrent module is the last one. Try taking out that last comma after you close out the module with the bracket.

        1 Reply Last reply Reply Quote 0
        • P Offline
          piedaniel
          last edited by Jun 22, 2016, 12:28 PM

          Here you have my log. I don´t know why is not loading the Meteoblue with a error server. I´m with MacOs.
          ~~
          logger.js:20 Load script: modules/default/newsfeed//newsfeed.js
          logger.js:20 Module registered: newsfeed
          logger.js:17 Bootstrapping module: newsfeed
          logger.js:20 File already loaded: moment.js
          logger.js:20 Scripts loaded for: newsfeed
          logger.js:20 Styles loaded for: newsfeed
          logger.js:20 Translations loaded for: newsfeed
          logger.js:20 Load script: modules/MMM-meteoblueCurrent//MMM-meteoblueCurrent.js
          http://localhost:8080/modules/MMM-meteoblueCurrent//MMM-meteoblueCurrent.js Failed to load resource: the server responded with a status of 404 (Not Found)
          ~~

          1 Reply Last reply Reply Quote 0
          • B Offline
            Bangee Module Developer
            last edited by Jun 22, 2016, 1:36 PM

            Are you sure, that the files are there?
            If the are, let’s try to restart pm2 restart mm or sudo reboot.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              1/5
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy