Read the statement by Michael Teeuw here.
MMM-RTSPtoWeb fresh install
-
@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-laternote 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 -
@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!
-
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!
-
@sforza just experience
-
@sdetweil thanks for sharing it then!