joann
September 12, 2013, 8:44pm
1
Hi,
I have problem with Grunt in the console of Chrome I have these errors ?
./onetreasurelimited/assets/css/main.min.css?ver=9a2dd99b82ca338b034e8730b94139d2
404 (Not Found) /:12
GET http://127.0.0.1.com/onetreasurelimited/assets/js/vendor/modernizr-2.6.2.min.js 404 (Not Found) www.127.0.0.1.com/:13
GET http://www.127.0.0.1.com/onetreasurelimited/assets/js/scripts.min.js?ver=54e79551de9fd9f89a54188ada3b4cb2 404 (Not Found)
Thank you
weslly
September 12, 2013, 9:07pm
2
I’m not sure what’s going on… why is your site calling www.127.0.0.1.com ? That’s usually a local IP address. I should resay that, 127.0.0.1 is a local IP address, but not www.127.0.0.1.com , that is just strange.
You have something being loaded in a strange way. Did you modify the Roots redirects?
ben
September 13, 2013, 1:49am
5
This has nothing to do with grunt. Start off by disabling rewrites in lib/config.php
talves
September 13, 2013, 8:01am
6
Specifically:
add_theme_support('root-relative-urls'); // Enable relative URLs
// add_theme_support('rewrites'); // **Disabled** URL rewrites
add_theme_support('bootstrap-top-navbar'); // Enable Bootstrap's top navbar
add_theme_support('bootstrap-gallery'); // Enable Bootstrap's thumbnails component on [gallery]
add_theme_support('nice-search'); // Enable /?s= to /search/ redirect
add_theme_support('jquery-cdn'); // Enable to load jQuery from the Google CDN
joann
September 13, 2013, 1:49pm
7
Works !
Thank you for your help