-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error: Cannot use Composer\Installer as Installer because the name is already in use in phar:///usr/local/bin/composer/src/Composer/Plugin/PluginManager.php(195) : eval()'d code on line 13 #197
Comments
how can I reproduce this? |
hi @Flyingmana i also meet this problem. composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition ./e_commerce_magento/
Created project in ./e_commerce_magento/ PHP Fatal error: Cannot use Composer\Installer as Installer because the name is already in use in phar:///usr/local/bin/composer/src/Composer/Plugin/PluginManager.php(193) : eval()'d code on line 13 |
@cyxddgithub your error occures for Magento2, where the "magento-hackathon/magento-composer-installer" should not be used for (its only for magento1) |
just an idea: do you maybe have the hackathon composer installer installed globally? |
@davidverholen here is my composer show result seem lick no global install it: @Flyingmana got it i have try report it in magento2 issue |
I think it's still another problem, since magento 2 would not require the hackathon composer installer. composer why magento-hackathon/magento-composer-installer it should show you the module, that requires the hackathon installer. Most likely you have a Magento1 Module in your requirements |
` - Installing composer/semver (1.4.2) Loading from cache
Fatal error: Cannot use Composer\Installer as Installer because the name is already in use in phar:///usr/local/bin/composer/src/Composer/Plugin/PluginManager.php(195) : eval()'d code on line 13
`
The text was updated successfully, but these errors were encountered: