简体   繁体   English

指南针手表错误

[英]compass watch ERROR

I am trying to use Sass with Compass on my static HTML project. 我正在静态HTML项目上尝试将Sass与Compass一起使用。 This is what I did: 这是我所做的:

$ gem install compass
$ cd <myproject>
$ compass install compass

it created following: 它创建了以下内容:

directory ./sass/
directory ./stylesheets/
   create ./sass/screen.scss 
   create ./sass/print.scss 
   create ./sass/ie.scss 
   create ./stylesheets/screen.css 
   create ./stylesheets/ie.css 
   create ./stylesheets/print.css 

Then, I start watching scss compass watch sass:stylesheets , I get an error: 然后,我开始观看scss compass watch sass:stylesheets ,出现错误:

error sass:stylesheets (/var/lib/gems/2.3.0/gems/sass-3.4.23/lib/sass/plugin/compiler.rb:484:in `read': No such file or directory @ rb_sysopen - /home/pc/test/webproj/sass:stylesheets)

Please help!! 请帮忙!!

Skimming through the reference it seems that watch command is expecting a path to directory. 略过参考文献,似乎watch命令期望目录路径。 So, your command should be: 因此,您的命令应为:

compass watch sass/stylesheets

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

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