本文介绍了创建Compass项目时出现问题(第[“ 891”]行的EACCES)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在创建新的罗盘项目(Windows 7)时遇到问题。我明白了:

I am having problems when creating a new compass project (Windows 7). I get this:

C:\>compass create a
   create config.rb
Errno::EACCES on line ["891"] of C: Permission denied - (C:/a/config.rb20140321-6828-1g0ytlc, C:/a/config.rb)
Run with --trace to see the full backtrace

我尝试使用以管理员身份运行启动cmd,并且尝试删除指南针,无礼和红宝石,没有任何运气就重新安装了。有人遇到问题或知道解决此烦人问题的方法吗?

I have tried to start cmd with "Run as administrator", I have tried to delete compass, sass and ruby, and reinstalled without any luck. Anyone else having problems or know a solution to this irritating problem?

推荐答案

我正在使用最新版本的(21.03.2014)罗盘v.0.12.4 ...
降级到v.0.12.2,一切正常!

I was using the latest version (21.03.2014) of compass v.0.12.4...Downgraded to v.0.12.2 everything worked fine!

看起来像个虫子?

要降级:

$ gem uninstall compass 
$ gem uninstall sass 
$ gem install compass -v 0.12.2 
$ gem install sass -v <rev>

这篇关于创建Compass项目时出现问题(第[“ 891”]行的EACCES)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-21 06:43