-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
I just upgraded to composer 2.1.7 from 2.1.6 and composer classmap cache stopped working or there is some breaking change in new version.
any subsequent command have error like :
Noticed exception 'Error' with message 'Class '\Contract\V1\Config\GPBMetadata\Config' not found' in /var/www/project/vendor/someVendor/Contract/V1/Config/Config.php
only change is upgrading composer to 2.1.7.
here is the command we use in our automations scripts:
su -p -c "composer dump-autoload --optimize --classmap-authoritative --apcu" www-data
Reactions are currently unavailable