2

When I push to moovcloud, I get this error:

   | 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

Any idea what could cause this or why? My git working directory is clean, so all files are up. My mlocal works, with no errors. I'm a little bit confused. Any help would be much appreciated.

2 Answers2

1

It looks like the mixins you are trying to use are not available.

Do they exist within your scss files? Are you making sure you import everything in main.scss?

Try to do a search in your stylesheets for those mixins to find out where they might be defined. If you can't find them, they don't exist.

It's possible that locally things appear that they work, but the resulting stylesheet might contain errors.

noj
  • 2,542
  • 1
  • 14
  • 9
  • Just to double-check it's working locally, I'd open the page in Incognito Mode. You also might want to remove your local CSS cache in the **assets/stylesheets/.css** folder. – nmakiya May 01 '13 at 18:18
  • Unfortunately neither of these were the problem. The problem was that locate_store.scss did not start with an "\_". For libsass all imported files must start with an "\_" – Ben Thefbfairy Bayard May 13 '13 at 17:27
1

The problem is simply that the files listed did not start with an "_". If you have this error, ensure that all imported files start with an "_".