• 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-Skolmaten] Shows school lunch menus in Sweden from skolmaten.se

Scheduled Pinned Locked Moved Utilities
18 Posts 6 Posters 8.2k Views 6 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.
  • E Offline
    erq
    last edited by Jan 23, 2018, 1:06 PM

    I get the same output log.

    1 Reply Last reply Reply Quote 1
    • H Offline
      Henrik @retroflex
      last edited by Jan 23, 2018, 6:09 PM

      @retroflex Sure, if you add me to the repo I’ll have a look. Github username is HenrikL6.

      R 2 Replies Last reply Jan 24, 2018, 1:38 PM Reply Quote 0
      • R Offline
        retroflex Project Sponsor Module Developer @Henrik
        last edited by Jan 24, 2018, 1:38 PM

        @Henrik said in [MMM-Skolmaten] Shows school lunch menus in Sweden from skolmaten.se:

        @retroflex Sure, if you add me to the repo I’ll have a look. Github username is HenrikL6.

        Added you as a collaborator to the repo. I’m new to git so let me know if there’s anything else I must do. Follow up question: is it better to be a collaborator than to send pull requests? Or maybe just easier?

        H 1 Reply Last reply Jan 25, 2018, 8:48 AM Reply Quote 1
        • R Offline
          retroflex Project Sponsor Module Developer @Henrik
          last edited by Jan 24, 2018, 1:42 PM

          @Henrik I had a quick look now and the exception seems to indicate that Parser cannot be found. Perhaps rss-parser package isn’t properly installed. Just to make sure: did you run “npm install” in the MMM-Skolmaten folder? Can you check if rss-parser is installed on your mirror?

          1 Reply Last reply Reply Quote 1
          • E Offline
            erq
            last edited by Jan 24, 2018, 7:54 PM

            Yes, I did a npm install in the folder and yes, it seems that the parser is installed. I have a folder named ~/MagicMirror/modules/MMM-Skolmaten/node_modules/rss-parser with this content:
            .npmignore
            .travis.yml
            LICENSE
            README.md
            bower.json
            browser.js
            dist/
            index.js
            lib/
            package-lock.json
            package.json
            scripts/
            test/

            Thanks for looking in to it!

            P R 2 Replies Last reply Jan 24, 2018, 8:07 PM Reply Quote 1
            • P Offline
              Pertan @erq
              last edited by Jan 24, 2018, 8:07 PM

              @erq Do a “npm install rss-parser@2.12.0” inside MMM-Skolmat folder and it will work.

              1 Reply Last reply Reply Quote 1
              • J Offline
                Jacco7702
                last edited by Jan 24, 2018, 8:42 PM

                Yes that did it. I had the same problem. I guess the dependency to rss-parser is hard coded to a specific version or that the latest works diffrent than this one

                1 Reply Last reply Reply Quote 1
                • E Offline
                  erq
                  last edited by Jan 24, 2018, 10:35 PM

                  Thanks, that did it!

                  1 Reply Last reply Reply Quote 1
                  • R Offline
                    retroflex Project Sponsor Module Developer @erq
                    last edited by Jan 25, 2018, 7:48 AM

                    @erq @Henrik Thanks for the tip! I have made a quick solution for now… changed package.json to have dependency to rss-parser v2.12.0.

                    Checked the rss-parser readme and the latest version (3) has changed it’s interface (“A few minor breaking changes were made in v3…”). If I find the time, I will update my code to support the latest version.

                    1 Reply Last reply Reply Quote 1
                    • H Offline
                      Henrik
                      last edited by Jan 25, 2018, 8:45 AM

                      Excellent, you solved the problem before I even had a chance to have a look at it! Well done!
                      I guess you can revoke my github access now. :)

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        9/18
                        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