运行Yeoman Webapp + Compass时出现“无效选项”

时间:2014-10-31 14:37:49

标签: ruby twitter-bootstrap bower yeoman compass

我是Yeoman的新手,我正试图设置一个yeoman bootstrap sass / compass enviroment。

我已经按照link来创建了Yeoman Webapp。

这个link指南针配方。

当我运行grunt服务时,我得到以下内容: 运行任务:指南针:服务器

Running "compass:server" (compass) task
Verifying property compass.server exists in config...OK
File: [no files]
Options: sassDir="app/styles", cssDir=".tmp/styles", imagesDir="app/images", javascriptsDir="app/scripts", fontsDir="app/styles/fonts", generatedImagesDir=".tmp/images/generated", importPath="bower_components", httpImagesPath="../images", httpGeneratedImagesPath="../images/generated", httpFontsPath="fonts", relativeAssets=false, assetCacheBuster=false, debugInfo
Error: invalid option: --import-path=bower_components

Usage: compass compile [path/to/project] [path/to/project/src/file.sass ...] [options]

我已经四处搜寻以解决问题但没有成功,任何帮助都会深深体会。

1 个答案:

答案 0 :(得分:2)

通过升级Compass解决...