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

      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
      • cowboysdudeC Offline
        cowboysdude Module Developer
        last edited by

        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 Reply Quote 0
        • S Offline
          Sitm09 @cowboysdude
          last edited by

          @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

            @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

              @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
              • First post
                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