Install theme based on Sage through composer makes post-autoload-dump not running

Hi! I have a Bedrock installation with a Sage 10 based theme. The theme is declared as a dependecy in the root composer.json.

The problem is that all packages gets installed into root-dir vendor and also the themes post-autoload-dump script is never executed (composer never run dependecies scripts https://getcomposer.org/doc/articles/scripts.md#what-is-a-script-)

So, Roots\\Acorn\\ComposerScripts::postAutoloadDump never runs on installation and even if it did, it would not have found vendor/composer/installed.json to build the manifest from.

Am I missing something obvious? Any ideas on how to solve this?

This topic was automatically closed after 42 days. New replies are no longer allowed.