docker-magento icon indicating copy to clipboard operation
docker-magento copied to clipboard

sampledata:deploy command is broken

Open mmvcode opened this issue 2 years ago • 1 comments

Description When running the bin/magento sampledata:deploy command, the following errors occurs in the terminal:


In FilesystemRepository.php line 163:

  file_get_contents(/var/www/html/vendor/composer/composer/src/Composer/Repository/../InstalledVersions.php): Failed to open stream: No such file or directory


require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]

There is an error during sample data deployment. Composer file will be reverted.

Steps To Reproduce

  1. Run bin/magento sampledata:deploy

Expected Result 2. Sample data installs successfully

Actual Result Error, braking the whole system,. You need to clear all the generated code, metadata and do bin/composer dumpautoload to fix it

OS: Debian GNU/Linux 10

mmvcode avatar Aug 16 '22 20:08 mmvcode

Is anyone else able to reproduce this? May be linux-only, as everything works just fine on my mac.

markshust avatar Aug 17 '22 16:08 markshust