• 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.

MMM-Reddit not working due to 'width' being undefined

Scheduled Pinned Locked Moved Unsolved Troubleshooting
5 Posts 2 Posters 1.4k Views 1 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.
  • S Offline
    Sitm09
    last edited by May 20, 2018, 2:39 AM

    0_1526783900889_error.png

    A screenshot of the error I am getting. This was working before but now it is not. Unsure of how to proceed. Thank you for any help.

    1 Reply Last reply Reply Quote 0
    • C Offline
      cowboysdude Module Developer
      last edited by May 20, 2018, 2:42 AM

      Try something simple like put this in your config.js file
      {
      module: “MMM-Reddit”,
      position: “top_right”,
      config: {
      subreddit: ‘earthporn’,
      displayType: ‘image’,
      imageQuality: ‘high’,
      count: 10,
      show: 1,
      width: 500,
      showAll: true,
      }
      },

      which is pretty much the default example…try that and see if that works first…

      S 3 Replies Last reply May 20, 2018, 2:47 AM Reply Quote 0
      • S Offline
        Sitm09 @cowboysdude
        last edited by May 20, 2018, 2:47 AM

        @cowboysdude 0_1526784263531_config_reddit.png

        I reset the position back to a default region in the main.css (after the screenshot), but I still get the same error as prompted by your suggestion to go back to the defaults. Before, I’ve been using this config for the module but it’s been working however.

        1 Reply Last reply Reply Quote 0
        • S Offline
          Sitm09 @cowboysdude
          last edited by May 20, 2018, 2:53 AM

          @cowboysdude said in MMM-Reddit not working due to ‘width’ being undefined:

          {
          module: “MMM-Reddit”,
          position: “top_right”,
          config: {
          subreddit: ‘earthporn’,
          displayType: ‘image’,
          imageQuality: ‘high’,
          count: 10,
          show: 1,
          width: 500,
          showAll: true,
          }
          },

          Some reason, this worked. Maybe a subreddit is messed up up for some reason. Thanks

          1 Reply Last reply Reply Quote 0
          • S Offline
            Sitm09 @cowboysdude
            last edited by May 20, 2018, 3:02 AM

            @cowboysdude Thanks for the help. It seems that 50 was too large of a number. Maybe it couldn’t get 50 with the number of subreddits I choose or whatever. Now at 25, and everything else the same, it is running.

            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