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.

    Adding jQuery

    Scheduled Pinned Locked Moved Solved Requests
    11 Posts 5 Posters 8.8k Views 5 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.
    • N Offline
      ninjabreadman @E3V3A
      last edited by

      @E3V3A When I look up the error, I find this thread which says:

      Check if the file path is correct and the file exists - in my case that was the issue - as I fixed it, the error disappeared.

      I suspect that jQuery is installed in your module’s node_modules folder, and not at the root of your MagicMirror (I may however be wrong).

      In which case I would expect jQuery to be installed at “http://192.168.1.2:8080/modules/MMM-Tabulator/node_modules/jquery-ui-dist/jquery-ui.css”. This is why in your thread here you needed to use this.file() so that it created a relative path.

      Problem with config or JavaScript? Copy/paste it into JSHint.
      Check out the detailed walkthroughs on install, config, modules, etc.

      E 1 Reply Last reply Reply Quote 0
      • E Offline
        E3V3A @ninjabreadman
        last edited by

        @ninjabreadman Oh man, Excellent! I wish I’d had seen that a week ago…

        Anyway, I’ve solved it since, but got another issue with getting the Tabulator code to actually do something. No errors shown, unfortunately.

        PS. Is there a way to close a thread or mark it as solved??

        "Everything I do (here) is for free – altruism is the way!"
        MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

        yawnsY 1 Reply Last reply Reply Quote 0
        • yawnsY Offline
          yawns Moderator @E3V3A
          last edited by

          @E3V3A
          Yes, at the end of the thread there is a button with a gear symbol. Tap/click it and select Mark as question, then tap/click a second time and select Mark as resolved

          E 1 Reply Last reply Reply Quote 0
          • E Offline
            E3V3A @yawns
            last edited by

            @yawns I must be blind!?

            0_1519078979009_firefox_2018-02-20_00-22-00.png

            "Everything I do (here) is for free – altruism is the way!"
            MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

            yawnsY 1 Reply Last reply Reply Quote 0
            • yawnsY Offline
              yawns Moderator @E3V3A
              last edited by

              @E3V3A
              No, I guess it’s my mistake. As a moderator I have these options. And I think the thread starter has the option as well.

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 2 / 2
              • First post
                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