首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >grunt-contrib-compass不执行任务

grunt-contrib-compass不执行任务
EN

Stack Overflow用户
提问于 2014-09-12 18:50:53
回答 1查看 178关注 0票数 1

我最近换了我的mac。我曾经使用grunt和grunt-contrib-compass没有问题,但自从我改变后,compass不再工作了。

我安装了我需要的所有工具(ruby、compass、sass、xcode、命令行工具、grunt等)。并保持相同的gruntfile.js和配置。当我运行grunt时,每个任务都是可执行的,甚至是compass,但是grunt-contrib-compass什么也不做,它显示了以下内容:

代码语言:javascript
复制
Running "compass:dev" (compass) task
//nothing
Running "csslint:dev" (csslint) task
>>1 file lint free.
// csslint, like the others plugins, works fine

这个问题不存在于我的grunt配置中,因为在同一个文件夹中,grunt-contrib-compass在我的旧mac上可以正常工作。

我注意到在grunt的执行过程中xcodebuild不会运行。

你知道我的问题在哪里吗?

EN

回答 1

Stack Overflow用户

发布于 2014-11-22 18:45:45

你同时安装了Compass和SASS吗?

如果已安装Compass,则不应安装SASS:

代码语言:javascript
复制
// * 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.
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25806610

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档