cdukes / bones-for-genesis-2-0

A starting point for new Genesis projects. Built for Genesis 3.* and WordPress 5.*+.
GNU General Public License v3.0
182 stars 61 forks source link

get error when installing #25

Closed ghost closed 9 years ago

ghost commented 9 years ago

get a warning when ruining grunt

C:\xampp\htdocs\wordpress\wp-content\themes\bones-for-genesis>grunt Running "clean:build" (clean) task

1 path cleaned.

Running "sass:build" (sass) task Error: File to import not found or unreadable: ../bower_components/Colors/sass/v ariables. Load paths: C:/xampp/htdocs/wordpress/wp-content/themes/bones-for-genesis/sass C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-core-1.1.0.alpha.3/styleshe ets Compass::SpriteImporter on line 5 of sass/style.scss Use --trace for backtrace. Warning: Exited with error code 65 Use --force to continue.

Aborted due to warnings.

EmilEriksen commented 9 years ago

I got the same error yesterday. Remove node_modules and run sudo npm cache clean.

ghost commented 9 years ago

is node_modules supposed to be in my theme directory? that is a big file

EmilEriksen commented 9 years ago

Yes. This directory contains all the modules needed to build the theme. These modules compile the sass, minify the javascript and css and so on. The directory is not needed to active the theme - just build it.