當我推到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