• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

jquery not working on magic mirror

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 3 Posters 3.1k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    Ryroro
    last edited by Ryroro Aug 18, 2016, 2:54 PM Aug 18, 2016, 2:50 PM

    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.

    1 Reply Last reply Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer
      last edited by Aug 18, 2016, 3:10 PM

      did you try this?

      getScripts: function() {
      		return [this.file("js/jquery.js")];
      },
      

      in mm-hide-all.js

      Please create a github issue if you need help, so I can keep track

      1 Reply Last reply Reply Quote 0
      • R Offline
        Ryroro
        last edited by Aug 19, 2016, 2:23 AM

        thanks, but the whole thing is still black. Nothing’s showing up

        A 1 Reply Last reply Aug 19, 2016, 2:38 AM Reply Quote 0
        • A Offline
          alexyak @Ryroro
          last edited by alexyak Aug 19, 2016, 2:39 AM Aug 19, 2016, 2:38 AM

          @Ryroro could you try run the MM with dev tools and check the console out for errors.

          npm start dev

          R 1 Reply Last reply Aug 19, 2016, 2:59 AM Reply Quote 0
          • R Offline
            Ryroro @alexyak
            last edited by Aug 19, 2016, 2:59 AM

            @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.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              1/5
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy