Composer Install Fails post deploy

Hi there. I’ve made my way through to my first deploy with Trellis/Bedrock/Sage.
All is on point until i look to activate my Sage theme which warns me to run composer install on the remote host in the theme folder.
When i do that composer install fails stating that the /themes/[theme name]/vendor does not exist and cannot be created. Googled to no avail.

There’s so many issues here that could be the source: permissions, private plugins, incorrect workflow, should i have done a yarn build:production before deploy? Anyone encountered this?

Thanks!

Resolved this after looking into autoloader missing. It was indeed for lack of a production build.

1 Like