Read the statement by Michael Teeuw here.
MMM-Podcast2 just shows undefined
-
Hi all,
I’m using MM V2.19.0 on Raspbian Buster and try to get MMM-Podcast2 up and running.
Some time ago I asked for help here regarding the missing request package. Since that I hadn’t found the time to work on my MM since now … I started with a fresh MM installation again.
After the insatllation of MMM-Podcast2 I installed the request package as mentioned in https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later. Now I stuck an moule output that says “UNDEFINED”.
I tried to do a bit of research. In the Console Output from developer tools it says, that within the main function updateModuleContent the first parameter newcontent isn’t of the type Node. So I made a log output with that parameter. But now I’m kind of stucked with my abilities of trying to understand what is happening. Does anyone has an idea why the content is “undefined” or what I could do to further check where is the reason of the error?
-
@oggo newContent is passed as a parameter to this function so the function caller failed to provide a good pointer
this looks like the module didn’t return something from it’s getDom() function which is required. even if it’s an empty divyep, no return
getDom: function() { },
-
@sdetweil Thanks for the hint! I came across this part in the https://github.com/Ax-LED/MMM-Podcast2/blob/master/MMM-Podcast2.js already and was not sure, if this function is filled within MMM-Podcast in another way.
-
-
@oggo this only fixes this one error. no idea on the rest of the module
-
@sdetweil Thanks for your quick help. The error is gone. The Video isn’t playing yet. I will investigate further …
-
-
@sdetweil Thank you very much for your effort!
The commands of the youtube video didn’t help in my case.