-
Notifications
You must be signed in to change notification settings - Fork 155
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
When removing magento-hackathon/magento-composer-installer, Fatal error Class 'MagentoHackathon\Composer\Helper' not found in /var/www/vendor/magento-hackathon/magento-composer-installer/src/MagentoHackathon/Composer/Magento/Plugin.php on line 211 #192
Comments
Seems like composer tries to run the plugin even if it was just uninstalled. You could remove the package from composer.json manually and run |
yes, every update/remove of a composer plugin should happen with the --no-plugins argument as described here: https://github.com/Cotya/magento-composer-installer#update-the-installer I probably should add a note, it is also true for remove |
Hello, But just one comment: I've look for a solution for this issue. I'm sure that not everybody wi'll do it. If you can find a more explicit way to specify it (I have no solution to purpose), it'll be a great help for your module 's users and will let earn you some support time. But anyway, thanks for your good job! |
I reopen, as this did make problems multiple times, and I plan to build a workaround for this. (not today) Possible Solution: block "remove/update" of the installer when Does this sound like a good solution? |
I am having the same problem with the PHP Parser. It clashes with the Magento Varien autoloader and gives Warnings. How do you proceed from here? |
@pdobrigkeit got that also with the nikic/php-parser and fixed it by adding it to psr-4 autoloadarray in compser.json maybe it will help you
|
Also for me I followed the first posted solution, cleared the Magento Cache, removed composer.lock file, and deleted all of vendor/ directory. Worked for me. Thanks! |
Hello,
i'm in front of an exception when trying to remove the installer module.
To reproduce:
./composer clearcache
./composer config repositories.firegento composer http://packages.firegento.com
./composer require magento-hackathon/magento-composer-installer:@stable
it generate the following output:
./composer install
./composer remove magento-hackathon/magento-composer-installer
./composer info --installed
And module is still installed
php -v
Let me know if you require more info.
Regards
The text was updated successfully, but these errors were encountered: