由于自耕农的警告,咕噜声服务中止了

Muk*_*und 10 ubuntu node.js angularjs gruntjs

我正在关注mean.io的教程,在其中,我必须安装 yo angular

一段时间后一切都安装完了,最后我不得不运行`grunt serve'

然后出现此错误/警告

mukund@mukund-ThinkPad-Edge-E431:~/MeanApp/client$ grunt serve
Running "serve" task

Running "clean:server" (clean) task
>> 0 paths cleaned.

Running "wiredep:app" (wiredep) task

Running "wiredep:test" (wiredep) task

Running "wiredep:sass" (wiredep) task

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

Aborted due to warnings.


Execution Time (2015-07-16 10:01:13 UTC)
loading tasks                  10ms  ???? 12%
loading grunt-contrib-compass  33ms  ????????????? 40%
compass:server                 38ms  ??????????????? 46%
Total 82ms Use --force to continue.

    Aborted due to warnings.


Execution Time (2015-07-16 10:01:12 UTC)
loading tasks                 10ms  ? 1%
loading grunt-contrib-clean   10ms  ? 1%
clean:server                   9ms  ? 1%
wiredep:app                  185ms  ???????? 24%
wiredep:test                  10ms  ? 1%
wiredep:sass                  12ms  ? 2%
loading grunt-concurrent       9ms  ? 1%
concurrent:server            515ms  ??????????????????????? 67%
Total 766ms
mukund@mukund-ThinkPad-Edge-E431:~/MeanApp/client$
Run Code Online (Sandbox Code Playgroud)

我按照本教程https://www.youtube.com/watch?v=OhPFgqHz68o

当我使用此命令运行时的Ans grunt serve --force

我得到了所需的页面@ htttp:// localhost/9000 /#/ page,没有任何风格

Vis*_*ath 14

你需要安装指南针.它由SASS使用,它包含在角度yeoman发生器中.

如果你安装了ruby,你可以做到.

gem install compass
Run Code Online (Sandbox Code Playgroud)

并且不要永远使用--force.它不是真正意味着所有的情况,但咕噜声抛出它为每个错误/警告除了致命错误.