Just to push a solution to this pb up the stack. Follow-up of this post : https://www.cuba-platform.com/discuss/t/gradleexception-unable-to-find-scss-file,
If Studio raises such exception at some point, it is probably because you are in this situation :
- IDEA 2017.2
- your project has a theme extension
- you have compiled from IDEA at least once
In that scenario, IDEA generates a ‘…/modules/web/themes/out’ directory structure which has nothing to do here. And that will later be treated as a theme to compile by Studio/gradle, which obviously fails, with the forementionned exception.
Not sure if this is an IDEA 2017.2 bug or an incompatibility between IDEA 2017.2 and Studio build process.
Anyway, reverting to 2017.1.5 does the trick.