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.

    rookie question: "builder encountered a problem, see MagicMirror messages for info"

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 2 Posters 516 Views 2 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
      sdetweil @rkorell
      last edited by

      @rkorell hm… second time in a week the trap output not found…
      (when did you install it? today?? one fix for this was 2 days ago)

      should look something like this (just to force an error)

      --------------------MMM-Config
      module MMM-OpenWeatherMapForecast has an error in the construction of its defaults section
      the error line is         maxHourliesToShow:fred,
      please change it to the literal value of the referenced variable
      and restart MagicMirror
      --------------------MMM-Config
      

      email me the ~/MagicMirror/modules/MMM-Config/defaults_???.js
      ??? is some number
      you will have to rename the file to .txt to send via email

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        rkorell @sdetweil
        last edited by

        @sdetweil , Dear Sam,
        I’ve installed your module today (just an hour or so ago).

        Where did you get the above posted “MMM-Config” outputs?
        As I wrote I do not know where to look…

        The requested javascript is named "defaults_19492568968080.js " .
        I’ve seen your mail address in the past somewhere - I remember it’s your username here at a public mail provider.
        But I forgot, which one - was it gmx.com ?

        Again thanks for your kind help.
        Regards,
        Ralf

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @rkorell
          last edited by

          @rkorell that output would be displayed in the output of npm start, or pm2 logs

          the default number of lines for pm2 logs is only 15 , so more might be necessary
          (the number is the end of the log output, most recent lines)

          pm2 logs --lines=100
          

          my email is the same userid as here at gmail

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            rkorell @sdetweil
            last edited by

            @sdetweil
            O.K., than I was at the right place…
            No message found in this output.
            Just sent you an email with the .js file attached - renamed with a .txt suffix.
            Thanks and warm regards,
            Ralf

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @rkorell
              last edited by

              @rkorell ok, fixed

              do this

              cd ~/MagicMirror/modules/MMM-Config
              git pull
              

              then restart MagicMirror
              (using pm2, its

              pm2 restart x
              

              where x
              is the name/number of the line for this app , in the output of

              pm2 status
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                rkorell @sdetweil
                last edited by

                Dear Sam, (@sdetweil),
                thanks a LOT.
                Now it works (at least I get the console without an error), not tried to make any changes.

                As message from git pull shows, some work for you - THANKS.

                Just being curious: Is something special in my environment which causes this unexpected and obviously not omnipresent issue?
                What have you fixed?
                (If narrated in a feasible amount of time/words) :-)

                Warmest regards,
                Ralf

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @rkorell
                  last edited by

                  @rkorell the module ‘discovers’ the variables defined in other modules to be configurable.

                  they can BE ANYTHING… over many lines, or constructed from other variables

                  you found another case that I didn’t cover…

                  there are only a 1000 modules, and you tried one I hadn’t seen before… which was different

                  I fixed that, which broke something else

                  I expect more troubles as time goes by

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    rkorell @sdetweil
                    last edited by

                    @sdetweil , O.K, understood.
                    Thanks for explanation - this makes sense.

                    Again: incredible work from you for the community: Many thanks!

                    Ralf

                    1 Reply Last reply Reply Quote 0
                    • R rkorell has marked this topic as solved on
                    • D dphotograph referenced this topic on
                    • 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