Trellis build errors on build production assets, but yarn build in theme folder runs fine

So when I run yarn build in the themes folder it is “generally” ok, although upon occasion it fails for the same reason.

I am using SASS and have import statements in my main app.scss file. Normally building from the theme folder is no problem, however, running from the build-before.yml file always fails. So I am currently building manually in the theme, commenting out the build production assets in the yml and doing it this way.

However, this isn’t very efficiente or optimal. Any tips on how to fix this?

Best,
Aaron

Hi Aaron,

for anyone to be able to chip in you’d need to post the exact errors you are having…

When running your next deployment you can add --verbose to enable Ansible’s verbose mode and get a proper output of what exactly is failing.