Read the statement by Michael Teeuw here.
MMM-Random Fact
-
@ramez Not really sure as I cannot duplicate your error and no one else seems to be having the issue.
-
I just downloaded the most recent version and fired it up.
-
Well for me this module does not work as well (only showing “Eine Tatsache bekommen” in German) and I have again Unhandled Rejection Warnings, which are not errors however… but I have the feeling they are related to the problem.
(node:25288) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error 0|mm | (node:25288) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 0|mm | (node:25288) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error
I only get these when I activate this module
-
@lavolp3 said in Random Fact:
I only get these when I activate this module
I’m not seeing that at all and I have plenty of modules loading along with it. Have you tried running this module by itself?
-
Is there a config option to show/hide the “Random Fact” title if you just want the fact?
Alternatively, would positioning and colour customisation of the title be done in CSS? -
Both can be achieved in custom.css file
.MMM-rfacts .title { display:none; (or positioning and colour customisation) } .MMM-rfacts .description { (positioning and colour customisation code here) }
-
Great, thank you. I will take a look at that when I have a little bit of spare time.
-
@mykle1 yep, it does work ONLY when set to english but other languages has a problem as stated here due to error in
promise.all()
function Here …please try to change your language to any other to confirm the error and let us know.@lavolp3 it’s the same error of mine.
-
Ahh ok. I’m sure the author will address the issue when he has time.
-
Is fixed…git pull…enjoy your weekend. Thanks @Mykle1