Tuesday, August 26, 2014

Compass error for command 'grunt server' with angularjs

I am trying to run "grunt serve" for start server but getting this error and my server shutdown due to this:

Error:

sachin@sachin-Lenovo:~/sachin/test$ grunt serve
Running "serve" task

Running "clean:server" (clean) task

Running "concurrent:server" (concurrent) task
    Warning: Running "compass:server" (compass) task
    Warning: You need to have Ruby and Compass installed and in your system PATH for this task to work. More info: https://github.com/gruntjs/grunt-contrib-compass Use --force to continue.
    
    Aborted due to warnings.
    
    
    Execution Time (2014-08-26 13:21:21 UTC)
    loading tasks    6ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 35%
    compass:server  11ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 65%
    Total 17ms Use --force to continue.
        
        Aborted due to warnings.


Solution:

Use this command for solve this warning:
npm install -g compass
gem install compass -v 0.12.3

3 comments:

  1. Thanks for sharing excellent information. Your website is so cool. I’m impressed by the details that you have on this blog. Ruby on Rails Developers

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete