命令'grunt server'的罗盘错误 [英] Compass error for command 'grunt server'
问题描述
我正在运行一个项目,为其安装了nodeJs,ruby,yeoman,compass等。现在我正在用命令
> grunt server
或> grunt服务器--force
但是它给了我指南针的错误。
E:\CRM_workspace\CRM_from_repo\\\ria> grunt服务器--force
运行服务器任务
>> `server`任务已被弃用。使用`grunt serve`启动服务器。
运行serve任务
运行clean:server(clean)任务
清理.tmp ...确定
运行并发:服务器(并发)任务
运行复制:样式(复制)任务
完成,没有错误。
运行compass:server(指南针)任务
目录.tmp / styles /
创建.tmp / styles / main.css(3.069s)
警告:↑使用 - 强制,继续。
完成,但有警告。
运行autoprefixer:dist(autoprefixer)任务
运行connect:livereload(连接)任务
开始连接127.0.0.1:9000 。
运行监视任务
等待...
我尝试卸载并安装指南针和sass。但对于'指南针:服务器'
仍然是相同的错误我需要做什么?
这是我得到的详细错误:
E:\CRM_workspace\ CRM_from_repo \ r> grunt serve
运行serve任务
运行clean:server(clean)任务
运行concurrent:server(并发)任务
运行copy:styles(复制)任务
完成,没有错误。
警告:Errno :: EACCES行C [:891]中的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)
使用--trace运行以查看完整的回溯使用--force继续。
由于警告而中止。
执行时间(2014-03-21 11:21:08 UTC)
并发:服务器6.3s■■■■■■■■■■■■■■■■■■ ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■100%
总计6.3s
这是Compass 0.12.4的问题。
在此处处理问题: https://github.com/chriseppstein/compass/issues/1618
您需要卸载指南针0.12.4: gem uninstall compass
,然后安装最新的工作版本: gem install compass -v 0.12.3
。
I'm running a project for which I installed nodeJs, ruby, yeoman, compass, etc. Now Im running my project with command
>grunt server
or >grunt server --force
but it is giving me following error for compass.
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...
I tried uninstalling and installing compass and sass. but still the same error for 'compass:server'
What do i need to do?
this is the details error I got:
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
This is an issue with Compass 0.12.4.
Follow the issue here: https://github.com/chriseppstein/compass/issues/1618
You need to uninstall compass 0.12.4: gem uninstall compass
, and then install the latest working release: gem install compass -v 0.12.3
.
这篇关于命令'grunt server'的罗盘错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!