Compass not working with mithril generator

I try to run Mithril yoman generator , unfortunately it crashes on grunt serve with error p>

Warning: completing the compass: server task (compass). Warning. Could not find binary compass code. Make sure it is installed ...

I can of course use -force to continue, and it works fine, but css is not included, which is a bit pointless, and my next option would be to modify the grunt file to use Sass without a compass.

Note. I tried the following sentences from this problem log for grunt-contrib-compass :

npm install grunt-contrib-compass sudo gem install sass sudo gem install compass 

thanks

+5
source share
1 answer

The answer was found here.

To install the compass on Mac OS X (Yosemite)

Set up the Ruby environment, ensure its relevance

 ruby -v sudo gem update --system 

Configure MAC environment, install Xcode command line tools

 xcode-select --install 

That was the key to getting Compass to work with OS X!

Install Sass

 sudo gem install sass 

Set compass

 sudo gem install compass 
+9
source

Source: https://habr.com/ru/post/1209340/


All Articles