MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED add request to modules

    Troubleshooting
    3
    8
    775
    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.
    • BKeyport
      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"

      BKeyport S 2 Replies Last reply Reply Quote 0
      • BKeyport
        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
          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

          Create a working config
          How to add modules

          S 1 Reply Last reply Reply Quote 0
          • S
            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

            Create a working config
            How to add modules

            BKeyport 1 Reply Last reply Reply Quote 0
            • BKeyport
              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
                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 BKeyport 2 Replies Last reply Reply Quote 0
                • S
                  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

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • BKeyport
                    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
                    • Referenced by  BKeyport BKeyport 
                    • 1 / 1
                    • First post
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy