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.

    add request to modules

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 3 Posters 2.8k Views 3 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.
    • BKeyportB Offline
      BKeyport Module Developer
      last edited by

      Appears that two modules I’m using are dead because of “request”

      How do we add it back into the affected modules?

      (MMM-CalendarExt2 and MMM-SystemStats, FWIW)

      The "E" in "Javascript" stands for "Easy"

      BKeyportB S 2 Replies Last reply Reply Quote 0
      • BKeyportB Offline
        BKeyport Module Developer @BKeyport
        last edited by

        Nevermind, I got it figured out.

        npm install request in the directory after the regular npm install.

        Likely gonna have to keep doing it, though. :|

        The "E" in "Javascript" stands for "Easy"

        1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @BKeyport
          last edited by

          @bkeyport said in add request to modules:

          How do we add it back into the affected modules?

          in the module folder

          if the module does NOT have a package.json file do

          npm init -y
          

          and then for all cases do

          npm install request -- save 
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @sdetweil
            last edited by

            the module author should add an updated package.json to the module

            And migrate to something else

            also

            rrule-alt
            valid-url

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            BKeyportB 1 Reply Last reply Reply Quote 0
            • BKeyportB Offline
              BKeyport Module Developer @sdetweil
              last edited by

              @sdetweil I have a feeling the update isn’t gonna happen in either of those modules… :)

              I’d love someone to come up with a better CX2, tho… 😉😉😉

              The "E" in "Javascript" stands for "Easy"

              1 Reply Last reply Reply Quote 0
              • B Offline
                bert269
                last edited by

                My is totally messed up now too, after the upgrade from 2.16.
                Blank screen.
                I tried the upgrade script with “force” but it’s still the same.
                THANKS!

                S BKeyportB 2 Replies Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @bert269
                  last edited by

                  @bert269 show the errors where you do npm start

                  if you use pm2, then do

                  pm2 logs --lines=100

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • BKeyportB Offline
                    BKeyport Module Developer @bert269
                    last edited by

                    @bert269 It’s likely a missing required piece, like it was for me.

                    take a look at logs.

                    if using PM2, I suggest multiple terminal windows to your system, then on one:
                    pm2 logs and the other pm2 restart MagicMirror (or other name that you use for MagicMirror)

                    The "E" in "Javascript" stands for "Easy"

                    1 Reply Last reply Reply Quote 0
                    • BKeyportB BKeyport referenced this topic on

                    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