• 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.

add request to modules

Scheduled Pinned Locked Moved Solved Troubleshooting
8 Posts 3 Posters 1.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.
  • B Offline
    BKeyport Module Developer
    last edited by Oct 2, 2021, 3:21 AM

    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"

    B S 2 Replies Last reply Oct 2, 2021, 3:35 AM Reply Quote 0
    • B Offline
      BKeyport Module Developer @BKeyport
      last edited by Oct 2, 2021, 3:35 AM

      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 Away
        sdetweil @BKeyport
        last edited by Oct 2, 2021, 6:34 AM

        @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 Oct 2, 2021, 6:35 AM Reply Quote 0
        • S Away
          sdetweil @sdetweil
          last edited by Oct 2, 2021, 6:35 AM

          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

          B 1 Reply Last reply Oct 2, 2021, 10:48 PM Reply Quote 0
          • B Offline
            BKeyport Module Developer @sdetweil
            last edited by Oct 2, 2021, 10:48 PM

            @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 Oct 3, 2021, 1:25 PM

              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 B 2 Replies Last reply Oct 3, 2021, 1:26 PM Reply Quote 0
              • S Away
                sdetweil @bert269
                last edited by Oct 3, 2021, 1:26 PM

                @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
                • B Offline
                  BKeyport Module Developer @bert269
                  last edited by Oct 3, 2021, 8:09 PM

                  @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
                  • B BKeyport referenced this topic on Aug 18, 2022, 6:58 PM
                  • 1 / 1
                  1 / 1
                  • First post
                    1/8
                    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