bref
bref copied to clipboard
Separate Vendor: Failed opening required file
Description:
I have a large vendor folder (~100MB production optimized) and have bref.separateVendor = true.
I then sometimes get the Failed opening file error which it encounters while trying to get the symfony polyfill file.
Fatal error: require(): Failed opening required '/tmp/vendor/composer/../symfony/polyfill-php80/bootstrap.php' (include_path='.:/opt/bref/lib/php') in /tmp/vendor/composer/autoload_real.php on line 55
Sometimes I get this error, and sometimes not. But when I do, subsequent invocations error out for a span of 5 mins to as long as 2 hours.