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-RTSPtoWeb fresh install

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 2 Posters 712 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 @sforza
      last edited by

      @sforza said in MMM-RTSPtoWeb fresh install:

      [2024-05-30 14:57:43.886] [ERROR] (node:5145) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘node-fetch’
      Require stack:

      /home/sforza/MagicMirror/modules/MMM-RTSPtoWeb/node_helper.js

      yes, this is an older module that is missing a library we removed

      see this for instructions on how to fix
      https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

      note there are 4 or 5 libraries that could be the cause… the error message identifies which…

      this particular library needs a version number added

      so,
      npm install node-fetch@2
      in the affected module folder

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @sdetweil thanks a ton for the super fast response! I’m in bed now and turned off the computer already, will surely try tomorrow! If it was not 1:30 am here and waking up early tomorrow I’d try right now! Knowing there is hope to fix it got me really excited!

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

          It works!!! I could not be happier :D

          Thanks a ton - especially for the accurate instructions.

          Yes I was able to identify the error line quite clearly. However, could you please explain how did you convert “node-fetch” to “node-fetch@2” as the missing module? - other than experience of course?

             UnhandledPromiseRejectionWarning: Error: Cannot find module ‘node-fetch’
          

          Thanks again!

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

            @sforza just experience

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil thanks for sharing it then!

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