2014-09-12 95 views
1

我最近更改了我的mac。我曾經用grunt和grunt-contrib-compass工作,沒有問題,但是因爲我改變了,指南針不再工作。grunt-contrib-compass不執行任務

我安裝了我需要的所有工具(ruby,compass,sass,xcode,命令行工具,grunt等),並保留了相同的gruntfile.js和配置。當我運行的呼嚕聲,每一個任務都executabe,甚至指南針,但咕嚕-的contrib指南針什麼也不做,就表明這一點:

Running "compass:dev" (compass) task 
//nothing 
Running "csslint:dev" (csslint) task 
>>1 file lint free. 
// csslint, like the others plugins, works fine 

這個問題從我的呼嚕聲的配置不會因爲在同一個文件夾中,grunt- contrib-compass在我的舊mac上工作。

我注意到grunt執行過程中xcodebuild不運行。

任何想法,我的問題在哪裏?

回答

0

您是否安裝了Compass和SASS?

,如果你已經安裝了北斗你不應該安裝SASS:

// * for Compass, run `npm install --save-dev grunt-contrib-compass` 
// This depends on the ruby compass gem, which can be installed with 
// `gem install compass` 
// You should not install SASS if you have installed Compass.