I am developing a theme from scratch but my scss file can not be compiled.
The crazy about it, the exactly same scss file can be compiled in "Customize theme" mode but not in the normal / preview mode:
normal / preview mode not working:
customize theme mode is working:
The error message is just "Failed to compile SCSS file" that does not help:
I've read, that shopify is using sass in version 3.2.6, I have compiled the scss file with sass 3.2.6 and it compiles without errors.
For others: this problem also occurs when you've got an error in your file.
Find & fix the error and it will compile.
For this reason - good practice to split code with liquid in (e.g. theme settings) - just makes linting easier.