简体   繁体   English

新安装指南针后,我们在启动“罗盘手表”时出错

[英]After freshly installing compass-inuit we get an error while starting up “compass watch”

We just created an compass project like described in the compass-inuit manual . 我们刚刚创建了罗盘 - 因纽特手册中描述的指南针项目。 When we now start "compass watch" we get the following error message: 当我们现在开始“指南针监视”时,我们收到以下错误消息:

user@VirtualXubuntu:/tmp/compass-test/my_project$ compass watch
>>> Change detected at 12:23:22 to: sass/style.scss
    error sass/sass/style.scss (Line 99: Invalid CSS after "}​": expected "{", was "")
identical stylesheets/sass/style.css 
>>> Compass is polling for changes. Press Ctrl-C to Stop.

Actually I don't know what this error means - since I'm a newbie in compass... 其实我不知道这个错误意味着什么 - 因为我是罗盘的新手......

Version Info: 版本信息:

Ubuntu 12.10 [amd64] Ubuntu 12.10 [amd64]
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux] ruby 1.9.3p194(2012-04-20修订版35410)[x86_64-linux]
Compass 0.12.2 (Alnilam) 指南针0.12.2(Alnilam)

This has been fixed in a newer version of the extension. 这已在更新版本的扩展中修复。 Update by running gem install compass-inuit -v 4.5.5.1 , then make a new project by running: 通过运行gem install compass-inuit -v 4.5.5.1 ,然后运行以下命令创建一个新项目:

compass create my_project -r compass-inuit --using compass-inuit

I believe the cause of this error is one of the brackets isn't really a bracket but a pasted character. 我相信这个错误的原因之一是括号不是一个支架而是一个粘贴的字符。 This causes the compiler to miss it and believe that a selector isn't closed. 这会导致编译器错过它并认为选择器未关闭。

Sorry for the hassle. 对不起,麻烦。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM