Closed andheiberg closed 10 years ago
I don't know why, but I can solve it by adding "imagecow/imagecow": "dev-master", before yours in my composer.json file.
I've just tried it with a new install and it works fine. Are you using dev-master for this package or the 1.x tag? You should be using the 1.x tag in your composer file, ie:
"kevbaldwyn/image" : "1.*"
I think it is an issue with your composer settings - what have you got set as your "minimum stability"? I don't consider this an issue with the package unless others report the same issue so I am closing it.
I have it set to "stable".
I tried you suggestion of "1." but that didn't work. I then tried "1.0.@dev" which did resolve, but game the same error as before.
But yes this might be something with my setup.
The problem is that the imagecow library has no tags or branches for composer to reference specific versions against. So when your composer file is set to minimum stability of stable it can't find any stable releases for imagecow. If you set it to "dev" it will find "dev-master" and install that. I think this is an issue to be taken up with imagecow and ask that they correctly tag stable releases, I could then correctly reference the relevant version in my composer.json file for this package.
Hi.
The problem is that the imagecow library has no tags or branches for composer to reference specific versions against.
Imagecow has one tag with the latest stable version: https://github.com/oscarotero/imageCow/releases so you can change the configuration of the composer.json to "imagecow/imagecow": "*"
to get automatically the latest stable version available. Maybe this solves the problem.
I've set the imagecow requirement to a stable version now so this problem shouldn't happen any more.
Hi I have updated and at the end of update I got this error: PHP Fatal error: Class 'KevBaldwyn\Image\ImageServiceProvider' not found in /PATH/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 158 PHP Stack trace: PHP 1. {main}() /PATH/artisan:0 PHP 2. require_once() /PATH/artisan:30 PHP 3. require() /PATH/bootstrap/start.php:66 PHP 4. Illuminate\Foundation\ProviderRepository->load() /PATH/vendor/laravel/framework/src/Illuminate/Foundation/start.php:210 PHP 5. Illuminate\Foundation\ProviderRepository->createProvider() /PATH/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:82 {"error":{"type":"Symfony\Component\Debug\Exception\FatalErrorException","message":"Class 'KevBaldwyn\Image\ImageServiceProvider' not found","file":"\/PATH\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/ProviderRepository.php","line":158}}Script php artisan clear-compiled handling the post-update-cmd event returned with an error
my composer show -i
kevbaldwyn/image dev-master 338afc9
imagecow/imagecow v1.1.0
I can not install this with composer.
Here's the error: http://d.pr/i/JbP9