Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Warning: spawn ENOENT Use with Grunt sass task

I recently downloaded OSX Yosemite and now grunt-contrib-sass is not working and I am getting the error:

Running "sass:dist" (sass) task
Warning: spawn ENOENT Use --force to continue.

Aborted due to warnings.

I'm not a grunt expert, do I need to reinstall any plugins or something else? I'm happy to provide any other information if needed. Thanks.

like image 625
Bennett Avatar asked Aug 01 '14 20:08

Bennett


1 Answers

Adding it as an answer here from comments above for posterity.

That error usually means Sass isn't installed. Run gem install sass to install it.

For me, it kept failing to install, so ran gem install sass --debug --backtrace --verbose and that fixed the no implicit conversion of nil into String (TypeError) install error.

like image 162
jamie-wilson Avatar answered Sep 18 '22 15:09

jamie-wilson