Class 'Composer\Installers\Installer' not found
Closed this issue ยท 15 comments
Following along with the info on installing this plugin into a cakephp project, and when attempting to install the plugins specified in composer.json, via cake composer.c install, getting:
PHP Fatal error: Class 'Composer\Installers\Installer' not found in phar:///Library/WebServer/Documents/Server-PHP/app/Plugin/Composer/Vendor/Composer/composer.phar/src/Composer/Plugin/PluginManager.php on line 216
Try removing the vendor folder in the project.
Closing this issue as it hasn't been updated for awhile.
Please reopen with new information if this issue is still valid.
I don't know what I did to resolve this problem when I first hit it, but after deploying this app to a new server, I'm once again hitting it. I don't have a vendor directory, but I do have a Vendor. I moved it aside, and still same problem.
I already did that. Don't worry about it; I converted to submodules and am ditching composer.
Bill
On Jan 20, 2014, at 3:12 AM, U-Zyn Chua notifications@github.com wrote:
@wkhatch Delete away Vendor/ and then run composer install.
โ
Reply to this email directly or view it on GitHub.
The solution of removing 'vendor' worked for me. Easy.
The solution of removing 'vendor' worked for me. Easy.
+1
This did not work for me
Deleting vendor folder worked fine for me.
once it's included in the project, it seems difficult to remove, so, I ended up revisiting this. Ultimately, I ended up having to delete both Vendor, vendors and, the lock file, then run composer.... install, and everything came back to bubble.
Bill
On Jan 21, 2015, at 3:37 PM, John Milmine notifications@github.com wrote:
Deleting vendor folder worked fine for me.
โ
Reply to this email directly or view it on GitHub.
Deleting vendor folder worked for me too ๐
Dumping vendor and composer install
did the trick
Deleting vendor folder also worked for me
Deleting the vendor folder worked ! +1
$ rm -rf vendor
$ composer clear-cache
$ composer install
Worked for me!!