Read the statement by Michael Teeuw here.
MMM-GQuotes
-
No that error is a MM error… Cannot read property ‘appendChild’ of undefined and ‘getElementByClassName’ of null…
It’s a getDom function error but like I said unless there’s a conflict of some type… do me a favor and open the ‘package.json’ file you have with GQuotes and tell me what the dependencies say…
-
"qs-iconv": "^1.0.4", "request": "^2.81.0", "xml2js": "^0.4.17"
-
OK that looks good… you have the newest version…
What I would do is run GQuotes and disable all the other modules… and enable one at a time until you get a conflict… that may go a long way to helping figure out what’s wrong here.
-
That is what I already did. Just running GQuote itself without other modules also shows the mentioned error.
-
Just run a “npm outdated” with the following result:
Package Current Wanted Latest Location
electron 1.6.6 1.6.8 1.6.6 magicmirror
grunt-markdownlint 1.0.33 1.0.37 1.0.37 magicmirror
iconv-lite 0.4.16 0.4.17 0.4.17 magicmirror -
@Fistandantilus said in MMM-GQuotes:
qs-iconv
Yes but if you go into the MMM-GQuote dir and run “npm outdated” it returns nothing… soooooo that’s not the issue…
iconv-lite only appears when you run it from the MagicMirror root dir…
Which means GQuotes is using all the latest version of npm modules…
This is my config:
{
module: ‘MMM-GQuotes’,
position: ‘top_left’,
config: {
maxWidth: “100%”,
header: “Zitat des Tages”,
}
},I cannot find anything wrong with the module that would cause that error.
-
Same as my config:
{
module: ‘MMM-GQuotes’,
position: ‘top_right’,
config: {
maxWidth: “100%”,
header: “Zitat des Tages”,
}
},Maybe we find some other users for testing. Cannot imagine that I´am the only one…
-
@Fistandantilus So far you are the only one… if you look above there are others testing it… they are having no issues either…
-
@Fistandantilus said in MMM-GQuotes:
Maybe we find some other users for testing. Cannot imagine that I´am the only one…
I don’t see anything wrong with this module. It does not report any errors in the console or the terminal. It does not affect other modules. See my picture below. GQuotes is running happily in between two other modules. Perhaps there was some failure in your install of MM, or the Pi you are using. Have you changed any of the system or module files?
-
Hi guys,
I just found the reason that was causing the error. There was a typo in the position in the config :face_palm:
Sorry for causing such trouble! Now it is working like a charm :)F.