3

I'm trying to install magento 2.3.3 with composer over Ubuntu 18.04

 composer -vvv create-project --repository=https://repo.magento.com/ magento/project-community-edition magento 
Installing magento/project-community-edition (2.3.3)
  - Installing magento/project-community-edition (2.3.3): Downloading (100%)         
Created project in magento
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 437 installs, 0 updates, 0 removals
  - Installing magento/magento-composer-installer (0.1.13): Downloading (100%)         
Plugin installation failed, rolling back
  - Removing magento/magento-composer-installer (0.1.13)


  [RuntimeException]                                                                                                      
  Could not delete /vagrant/tiendafetichista.ovh/magento/vendor/magento/magento-composer-installer/src/MagentoHackathon:  

Exception trace:
 () at phar:///usr/bin/composer/src/Composer/Util/Filesystem.php:217
 Composer\Util\Filesystem->unlink() at phar:///usr/bin/composer/src/Composer/Util/Filesystem.php:170
 Composer\Util\Filesystem->removeDirectoryPhp() at phar:///usr/bin/composer/src/Composer/Util/Filesystem.php:137
 Composer\Util\Filesystem->removeDirectory() at phar:///usr/bin/composer/src/Composer/Downloader/FileDownloader.php:238
 Composer\Downloader\FileDownloader->remove() at phar:///usr/bin/composer/src/Composer/Downloader/DownloadManager.php:299
 Composer\Downloader\DownloadManager->remove() at phar:///usr/bin/composer/src/Composer/Installer/LibraryInstaller.php:224
 Composer\Installer\LibraryInstaller->removeCode() at phar:///usr/bin/composer/src/Composer/Installer/LibraryInstaller.php:137
 Composer\Installer\LibraryInstaller->uninstall() at phar:///usr/bin/composer/src/Composer/Installer/PluginInstaller.php:66
 Composer\Installer\PluginInstaller->install() at phar:///usr/bin/composer/src/Composer/Installer/InstallationManager.php:173
 Composer\Installer\InstallationManager->install() at phar:///usr/bin/composer/src/Composer/Installer/InstallationManager.php:160
 Composer\Installer\InstallationManager->execute() at phar:///usr/bin/composer/src/Composer/Installer.php:597
 Composer\Installer->doInstall() at phar:///usr/bin/composer/src/Composer/Installer.php:229
 Composer\Installer->run() at phar:///usr/bin/composer/src/Composer/Command/UpdateCommand.php:163
 Composer\Command\UpdateCommand->execute() at phar:///usr/bin/composer/vendor/symfony/console/Command/Command.php:245
 Symfony\Component\Console\Command\Command->run() at phar:///usr/bin/composer/vendor/symfony/console/Application.php:835
 Symfony\Component\Console\Application->doRunCommand() at phar:///usr/bin/composer/vendor/symfony/console/Application.php:185
 Symfony\Component\Console\Application->doRun() at phar:///usr/bin/composer/src/Composer/Console/Application.php:267
 Composer\Console\Application->doRun() at phar:///usr/bin/composer/vendor/symfony/console/Application.php:117
 Symfony\Component\Console\Application->run() at phar:///usr/bin/composer/src/Composer/Console/Application.php:106
 Composer\Console\Application->run() at phar:///usr/bin/composer/bin/composer:61
 require() at /usr/bin/composer:24

Only see plugin installation failed, rolling back and also see that installer try to remove installation and it can't remove

I work with composer in several project (not magento) and it is the first time I see this question with composer

On google not too much literature about problem

  • Composer version 1.9.0
  • php 7.2 with requirements on official page of Magento 2

I'm lost

  • 1
    Did you solve this problem? I have the same issue and I'm lost as well – feub Dec 5 '19 at 9:58
  • @feub solved 3 days after... Delete all and Reinstall fressh with composer . Good luck – Abdel Karim Mateos Sanchez Dec 5 '19 at 10:50
  • It seems to have been working using the --no-plugins option. But now I realise I find no bin/magento file... – feub Dec 5 '19 at 13:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.