【发布时间】:2015-03-09 23:55:09
【问题描述】:
我发布了一个使用 Yo 创建的项目,它是一个 angularJS/HTML5 应用程序。使用 GitHub 分发时,所有用户都能够设置和运行应用程序。但是一位用户收到以下错误,我自己从未见过或经历过此错误,但我需要帮助解决此问题:
Warning: Running "compass:server" (compass) task
Error: invalid option: --no-relative-assets
Usage: compass compile [path/to/project] [path/to/project/src/file.sass ...] [options]
Warning: Running "compass:server" (compass) task Error: invalid option: --no-relative-assets
Usage: compass compile [path/to/project] [path/to/project/src/file.sass ...] [options]
我使用 npm install 重新安装了节点模块并检查了 Mac 上的 sass 和 compass 版本,我得到了以下信息:
$ sass -v
Sass 3.4.9 (Selective Steve)
$ compass -v
Compass 1.0.1 (Polaris)
Copyright (c) 2008-2015 Chris Eppstein
Released under the MIT License.
Compass is charityware.
Please make a tax deductable donation for a worthy cause: http://umdf.org/compass
$ gem install
bigdecimal (1.2.0)
CFPropertyList (2.2.8)
chunky_png (1.3.3)
compass (1.0.1)
compass-core (1.0.1)
compass-import-once (1.0.5)
ffi (1.9.6)
io-console (0.4.2)
json (1.7.7)
libxml-ruby (2.6.0)
minitest (4.3.2)
multi_json (1.10.1)
nokogiri (1.5.6)
psych (2.0.0)
rake (0.9.6)
rb-fsevent (0.9.4)
rb-inotify (0.9.5)
rdoc (4.0.0)
rubygems-update (2.4.5)
sass (3.4.9)
sqlite3 (1.3.7)
test-unit (2.0.0.0)
有谁知道这可能是什么问题?我以前从未经历过这种情况,我的 Compass 和 Sass 版本与我同事的版本相同。
【问题讨论】:
标签: node.js gem sass compass-sass