I’m building a new site using sage10. I’m deploying to pantheon using Branch CI to build assets and deploy from github. Things seem to be working okay as far as the steps go. The site does not load, however.
I get this:
Warning: require(/code/wp-content/themes/firstpitch-reebok/vendor/composer/ClassLoader.php): failed
to open stream: No such file or directory in /code/wp-content/themes/firstpitch-
reebok/vendor/composer/autoload_real.php on line 12 Fatal error: require(): Failed opening required
(include_path=’.:/usr/share/pear:/usr/share/php’) in /code/wp-content/themes/firstpitch-
reebok/vendor/composer/autoload_real.php on line 12`
For my build steps, I run
yarn install && yarn build:production
And my assets get built just fine. But there are obviously files missing from composer.
I was ignoring all files in the sage’s /vendor folder like so
Clearly, I’m not understanding a key part of this.