簡體   English   中英

Yeoman Angular Node App,指南針在Grunt Serve上失敗

[英]Yeoman Angular Node App, Compass Failed on Grunt Serve

不知道為什么會這樣

'npm install -g compass' 

並顯示確認安裝的樹。 但我似乎無法檢查指南針的版本。 因此它可能存在或可能不存在,它存在於package.json文件中……無論如何,這是代碼:

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: compass: command not found
     Use --force to continue.

    Aborted due to warnings.


    Execution Time (2015-12-04 20:10:42 UTC)
    loading tasks                  384ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 78%
    loading grunt-contrib-compass   48ms  ▇▇▇▇ 10%
    compass:server                  58ms  ▇▇▇▇ 12%
    Total 493ms Use --force to continue.

        Aborted due to warnings.


Execution Time (2015-12-04 20:10:41 UTC)
loading tasks      338ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 16%
wiredep:app        320ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 15%
wiredep:test        27ms  ▇▇ 1%
wiredep:sass        50ms  ▇▇▇ 2%
concurrent:server   1.3s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 63%

安裝指南針,就可以了:

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

(npm包只是實際指南針的包裝)

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM