MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    jquery not working on magic mirror

    Troubleshooting
    3
    5
    2586
    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
      Ryroro last edited by Ryroro

      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
      • strawberry 3.141
        strawberry 3.141 Project Sponsor Module Developer last edited by

        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
          Ryroro last edited by

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

          A 1 Reply Last reply Reply Quote 0
          • A
            alexyak @Ryroro last edited by alexyak

            @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 Reply Quote 0
            • R
              Ryroro @alexyak last edited by

              @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
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy