我是 Yeoman 的新手,我正在尝试设置一个 yeoman bootstrap sass/compass 环境。
我关注了这个 link用于创建 Yeoman Webapp。
还有这个link到 compass 食谱。
当我运行 grunt serve 时,我得到以下信息: 运行任务:compass:server
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]
我已经四处搜索以解决该问题,但没有成功,我们将不胜感激任何帮助。
最佳答案
通过升级 Compass 解决...
关于ruby - 运行 Yeoman Webapp + Compass 时为 "invalid option",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26677221/