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.5k 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

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 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