当我推到moovcloud,我得到这个错误:SASS在推送到moovcloud时编译错误?
| Compiling Sass assets...
| gosass error: ~/assets/stylesheets/pages/accounts/address_book.scss:6: error: mixin border-radius is undefined
| Backtrace:
| e: ~/assets/stylesheets/pages/accounts/address_book.scss:6
| gosass error: ~/assets/stylesheets/pages/accounts/login_details.scss:6: error: mixin border-radius is undefined
| Backtrace:
| e: ~/assets/stylesheets/pages/accounts/login_details.scss:6
| gosass error: ~/assets/stylesheets/pages/accounts/login_page.scss:3: error: mixin display-label is undefined
| Backtrace:
| e: ~/assets/stylesheets/pages/accounts/login_page.scss:3
| gosass error: ~/assets/stylesheets/pages/accounts/payment_info.scss:7: error: mixin display-label is undefined
| Backtrace:
| e: ~/assets/stylesheets/pages/accounts/payment_info.scss:7
| gosass error: ~/assets/stylesheets/pages/customer/locate_store.scss:5: error: reference to unbound variable $gray4
| Backtrace:
| e: ~/assets/stylesheets/pages/customer/locate_store.scss:5
| gosass error: ~/assets/stylesheets/pages/subpages.scss:9: error: mixin account-link-button is undefined
| Backtrace:
| e: ~/assets/stylesheets/pages/subpages.scss:9
任何想法可能是什么造成这样或为什么呢?我的git工作目录很干净,所以所有文件都打开了。我的mlocal工作,没有错误。我有点困惑。任何帮助将非常感激。
只要仔细检查它在本地工作,我就可以在隐身模式下打开网页。 您也可能想要移除** assets/stylesheets/.css **文件夹中的本地CSS缓存。 – nmakiya 2013-05-01 18:18:55
不幸的是这些都不是问题。 问题是,locate_store.scss没有以“\ _”开头。对于libsass,所有导入的文件必须以“\ _”开头 – 2013-05-13 17:27:58