Uncaught Error: Bootstrap’s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
Uncaught TypeError: url.indexOf is not a function
Some Details:
Meteor version: 1.3.4.1
Tried using a clean MongoDB
Running in Ubuntu 14.04.4 LTS (GNU/Linux 3.19.0-25-generic x86_64)
It’s difficult to troubleshoot this without seeing your application code. As a start I’d recommend focusing on the “url.indexOf is not a function” error, and tracking down where the url variable is defined (and why it’s empty).
How do I start tracking down the url variable?
The variable is not declared by me, and the error occurs in line 9649 in jquery.js.
P.S sorry I’m kind of new in this
Full Error:
Uncaught TypeError: url.indexOf is not a function jquery.js:9649
are you seeing Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3?
Because that sounds like you just need to specify && install the proper version of jquery (the original poster didn’t seem to have it listed explicitly in his npm dependencies)
thank you for responding.
No, it actually only shows “Uncaught TypeError: url.indexOf is not a function” and the source “jquery.js:9793”.
jQuery Version is “jquery@1.11.9”.
Also I don’t know how to debug this correctly.
Looking around, that error seems to be largely correlated with version 3.X of jquery not supporting an old .load call. Are you installing jquery via NPM? Or are you using the Meteor packaged version of it?