我正在运行一个安装了nodeJs、ruby、yeoman、compass等的项目。现在我用命令运行我的项目>grunt server
or >grunt server --force
但它给了我罗盘的以下错误。
E:\CRM_workspace\CRM_from_repo\ria>grunt server --force
Running "server" task
>> The `server` task has been deprecated. Use `grunt serve` to start a server.
Running "serve" task
Running "clean:server" (clean) task
Cleaning .tmp...OK
Running "concurrent:server" (concurrent) task
Running "copy:styles" (copy) task
Done, without errors.
Running "compass:server" (compass) task
directory .tmp/styles/
create .tmp/styles/main.css (3.069s)
Warning: ↑ Used --force, continuing.
Done, but with warnings.
Running "autoprefixer:dist" (autoprefixer) task
Running "connect:livereload" (connect) task
Started connect web server on 127.0.0.1:9000.
Running "watch" task
Waiting...
我尝试卸载并安装compass和sass。但仍然有同样的错误'compass:server'
我需要做什么?
这是我得到的详细错误:
E:\CRM_workspace\CRM_from_repo\ria>grunt serve
Running "serve" task
Running "clean:server" (clean) task
Running "concurrent:server" (concurrent) task
Running "copy:styles" (copy) task
Done, without errors.
Warning: Errno::EACCES on line ["891"] of C: Permission denied - (E:/CRM_wor
kspace/CRM_from_repo/ria/.tmp/styles/main.css20140321-4456-1klow8l, E:/CRM_works
pace/CRM_from_repo/ria/.tmp/styles/main.css)
Run with --trace to see the full backtrace Use --force to continue.
Aborted due to warnings.
Execution Time (2014-03-21 11:21:08 UTC)
concurrent:server 6.3s ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100%
Total 6.3s
这是 Compass 0.12.4 的问题。
请关注此处的问题:https://github.com/chriseppstein/compass/issues/1618
您需要卸载compass 0.12.4:gem uninstall compass
,然后安装最新的工作版本:gem install compass -v 0.12.3
.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)