generator-angular icon indicating copy to clipboard operation
generator-angular copied to clipboard

Compass Not Found

Open jongunter opened this issue 9 years ago • 9 comments
trafficstars

I've followed your instructions to a 'T' multiple times, only to get

    Warning: Running "compass:server" (compass) task
    Warning: Command failed: /bin/sh -c compass --version
    /bin/sh: compass: command not found
     Use --force to continue.

when I try to run grunt serve

I think using npm to install compass will fix this, but you might want to clarify your readme.

jongunter avatar Dec 23 '15 21:12 jongunter

You need to make sure you have compass installed first. Get ruby then run "gem install compass"

http://compass-style.org/install/

georaldc avatar Dec 28 '15 23:12 georaldc

https://github.com/yeoman/generator-angular/pull/1243

eddiemonge avatar Jan 05 '16 04:01 eddiemonge

same error, compass is instaled

idoo avatar Jan 10 '16 05:01 idoo

@idoo if its installed is it on your path? if you run the command directly does it work?

eddiemonge avatar Jan 12 '16 20:01 eddiemonge

@eddiemonge sorry about that, I had problem with rbenv Now it's work correctly. Thank you!

idoo avatar Jan 13 '16 00:01 idoo

$ sudo apt-get install ruby-compass $ sudo gem install compass

Tammeny avatar Jan 23 '16 13:01 Tammeny

$ sudo apt-get install ruby-compass $ sudo gem install compass

This code maybe add in package.json -> "scripts" -> "preinstall" : ' sudo apt-get install ruby-compass & sudo gem install compass' and add for Win OS

Thank you!

Philin-Anton avatar Jun 16 '16 12:06 Philin-Anton

worked for me on "windows 10" http://compass-style.org/install/

malis90 avatar Mar 24 '17 19:03 malis90

Use Ruby prompt to run it. Do not use CMD or Powershell. https://rubyinstaller.org/

nardocesar avatar Aug 21 '17 21:08 nardocesar