Failed to load resource: the server responded with a status of 404 (OK)
main.js
https://ajax.googleapis.com/ajax/libs/jquery/1.12.1/jquery.min.js
The url does not exist.
I have another project that is loading https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js
Without any problem
The strange thing is that the project with the error is working correctly and correctly includes a jquery from:
/wp-includes/js/jquery/jquery.js
I also can see, in both projects, a jQuery v2 on dist. It doesn’t seem to be a requirement from the other libraries I’m installing with bower and I’m not requiring it nominally at all.
I understood that roots switched back to jQuery v1 so I don’t know what that v2 does here.
Also it doesn’t seem to get used at all.
Does anyone have this 1.12.1 problem?
Where is the version of the jQuery sage uses specified?
Should I be worried about having so many jQueries?
I guess the wrong jquery maybe comes from WordPress (using VVV an the nightly build of WP so maybe it comes from that).
I moved everything to the stable of WordPress on VVV and I don’t see the error any more.
This is my first project with VVV and I assumed I should use http://src.WordPress-develop.dev because it has “develop” on it. Maybe not XD
Soil tries to load the version of jQuery that core uses from the Google CDN, so if an upcoming WP ver is using one that doesn’t exist on the Google CDN then we’re going to run into issues
if jQuery is not working (404 missing request to remote server) go to app/setup.php and disable this line. seems relevant to add now - you won’t get the benefit of the CDN but it should work normally.