Deployment failing: Composer\Util\Filesystem::$filesystem

Posted 3 years ago by domioanna

When I deploy through composer I get the following message during the Install Composer Dependencies section...

  - Installing swiftmailer/swiftmailer (v5.4.1)
    Loading from cache

  - Installing jakub-onderka/php-console-color (0.1)
    Loading from cache

  - Installing jakub-onderka/php-console-highlighter (v0.3.2)
    Loading from cache

  - Installing dnoegel/php-xdg-base-dir (0.1)
    Loading from cache

  - Installing psy/psysh (v0.5.2)
    Loading from cache
                                                             
  [ErrorException]                                           
  Undefined property: Composer\Util\Filesystem::$filesystem  
                                                             
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [packages1] ... [packagesN]

Any ideas, or know how to fix it?

I've already tried composer clear-cache, but that doesn't seem to go anything either, it still throws the same error.

Please sign in or create an account to participate in this conversation.