The module Webprofile has the following compose.json.

After running composer drupal-update the following error occurs:

Warning: require(/var/www/project/drupal8-project/web/modules/contrib/webprofiler/vendor/symfony/stopwatch/Symfony/Component/Stopwatch/Stopwatch.php): failed to open stream: No such file or directory in /var/www/project/drupal8-project/vendor/composer/autoload_real.php

It appears that composer is looking in the module's vendor directory rather than in core/vendor/ ?

Is this an issue for Composer Manager or is there something specific that can be changed in the module in order to get it to play nicely with CM?

Comments

bojanz’s picture

Status: Active » Closed (cannot reproduce)

I cannot reproduce this, so it must be something module specific. Reopen with more info (link to code?) and we can try to track it down.