ROOTS Bootstrap WordPress Theme Giving Errors (manifest.json missing)

If you just newly installed Roots Bootstrap Theme for WordPress and just uploaded it to your server and activated the theme and are seeing confusing errors that read like this:

Warning: file_get_contents(/var/www/xhtmlwebdesign.com/wp-content/themes/roots-master/assets/manifest.json): failed to open stream: No such file or directory in /var/www/xhtmlwebdesign.com/wp-content/themes/roots-master/lib/scripts.php on line 23

It’s because you need to run

grunt build

in Terminal (in your theme’s directory) to produce the files necessary for non-development environments (aka that manifest.json file that is missing). Voila!

Leave a Reply