@sdetweil said in ReferenceError: Remote-Control & AccuWeatherForecastDeluxe:
@hanspeter2000 said in ReferenceError: Remote-Control & AccuWeatherForecastDeluxe:
[ERROR] ReferenceError: defaults is not defined
yes, this is a bad programming practice
in the MMM-AccuWeatherForecastDeluxe.js
on roughly line 98,
is
mainIconset: defaults.iconset,
this references the structure it is in that is not yet finished at the time.
it used to work once, but doesn’t reliably now…
the fix is to change that to
mainIconset: "1c",
(the value of the iconset 1 line above)
and this is caused by MMM-Remote-Control trying to figure out what modules are installed so it can help add/remove them ,
it is not fatal , so you can also ignore it…
on my dev system I have error messages all over the place due to Remote-Control trying to load module components
thank you. until now the module is working :-)