推送到moovcloud时SASS编译错误?
当我按下moovcloud时,会出现以下错误:推送到moovcloud时SASS编译错误?,sass,moovweb,Sass,Moovweb,当我按下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
| 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工作正常,没有错误。我有点困惑。任何帮助都将不胜感激 您尝试使用的混音器似乎不可用 它们是否存在于您的scss文件中?是否确保导入main.scss中的所有内容 尝试在样式表中搜索这些混合,以找出它们可能被定义的位置。如果你找不到它们,它们就不存在了
可能本地的东西看起来是有效的,但是结果样式表可能包含错误。问题只是列出的文件没有以“\ux”开头。如果出现此错误,请确保所有导入的文件都以“u”开头。为了再次检查它是否在本地工作,我会以匿名模式打开页面。您可能还想删除assets/stylesheets/.CSS文件夹中的本地CSS缓存。不幸的是,这两个都不是问题所在。问题是locate_store.scs不是以“\u”开头的。对于libsass,所有导入的文件必须以“\ux”开头