【发布时间】:2015-10-05 17:40:18
【问题描述】:
我正在学习 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$
我按照这个教程https://www.youtube.com/watch?v=OhPFgqHz68o
Ans 当我使用这个命令运行时grunt serve --force
我得到了所需的页面@htttp://localhost/9000/#/ 没有任何样式的页面
【问题讨论】:
标签: angularjs node.js ubuntu gruntjs