Compass and SASS: Nothing to compile error

纵饮孤独 提交于 2019-12-04 10:48:24

Check to see if you have special characters in your filepath. I had "[" and "]" wrapping a directory name. This apparently causes Compass to choke. Removing those fixed my issue.

Seeing as though there are lot's of different scenarios that lead to this same error message, it would seem that some additional info in the debugging output might be helpful. I spent a couple of hours on this, thinking it was my config.rb file! Oh well, hope this post saves someone else some time.

Missing config.rb produces the same error. Create a minimal one in your basic sass directory containing just

sass_dir = '.'

Carefully check the paths in your config.rb file. This error can be caused by any error in the path definitions that lead to a non-existent directory.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!