Read the statement by Michael Teeuw here.
jquery not working on magic mirror
-
Hey guys, I just finish building the mirror and finish setting up all the basics of the magic mirror. The default modules run smoothly. However, whenever I try to run something related to jquery, the mirror just black out. I tired https://github.com/masters1222/mm-hide-all this guy’s module, with the library in it, but there is still nothing on display. I tried inserting source in the index.html, still nothing. And I find that the mirror will work again only if I delete reference to the library of jQuery.
I use a raspbian system and installed the latest MagicMirror2. -
did you try this?
getScripts: function() { return [this.file("js/jquery.js")]; },
in mm-hide-all.js
-
thanks, but the whole thing is still black. Nothing’s showing up
-
@Ryroro could you try run the MM with dev tools and check the console out for errors.
npm start dev
-
@alexyak
thanks, everything is showing up again, except for the mm-hide-all module, and I don’t see any error on the console. But the button in the module just don’t show up.