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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login