2016-09-27 64 views
2

我有引導4爲本地安裝,當我跑咕嚕手錶,我得到以下警告:步兵 - 打捆:未能加載命令:SCSS皮棉

Running "scsslint:docs" (scsslint) task 
Warning: 
bundleExec options set but no Bundler executable found in your PATH. 
More info: https://github.com/ahmednuaman/grunt-scss-lint 
Use --force to continue. 

Aborted due to warnings. 

爲了解決這個問題,我跑以下命令:

sudo gem install bundler -n /usr/local/bin 

然後我得到了以下信息:

Running "scsslint:docs" (scsslint) task 
Running scss-lint on docs 
>> 1. Please make sure you have ruby installed: `ruby -v` 
>> 2. Install the `scss-lint` gem by running: 
>> gem update --system && gem install scss-lint 

於是我跑到下面的命令:

sudo gem update --system -n /usr/local/bin 
sudo gem install scss_lint -n /usr/local/bin 

現在,當我運行繁重的手錶,我得到以下幾點:

Running "scsslint:docs" (scsslint) task 
Running scss-lint on docs 
bundler: failed to load command: scss-lint (/usr/local/bin/scss-lint) 
Warning: Task "scsslint:docs" failed. Use --force to continue. 

我在OSX埃爾卡皮坦。任何人有一個想法如何解決這個問題?

FYI我不得不使用上的命令的-n在/ usr/local/bin中的參數,因爲它會給我

回答

0

不知道是什麼問題,但scss-lint基本上是一個語法檢查。我發現如果我刪除TWBS符合的scss-lint

嘗試:

sudo gem uninstall scss-lint 

但願會有比這更好的答案,但到目前爲止,這將讓你去。