【发布时间】:2014-11-04 20:03:02
【问题描述】:
运行“sass:dist”(sass)任务
警告:bower_components/foundation/scss/foundation/functions:13:错误:错误读取>值之后) 使用 --force 继续。
由于警告而中止。
在下面寻找解决方案。
【问题讨论】:
-
我会尝试 grunt-contrib-sass,因为 grunt-sass' page:
This task uses libsass which is an experimental Sass compiler in C++. In contrast to the original Ruby compiler, this one is much faster, but is missing some features上的通知。也适用于任何懒得查找它的人; scss/foundation/functions 中的第 13 行如下所示:$modules: append($modules, $name) !global; -
我尝试了 npm install -g grunt-contrib-sass 并且它没有工作......我在另一个 ubuntu 系统上遇到了同样的问题,但解决了它。可悲的是,我不记得如何了;我相信这是 bower 的问题,但我已经在全球范围内安装了 bower 并运行了 bower install。