اذهب إلى المحتوى

السؤال

نشر

عندما أقوم بتضمين الإضافة laravel-image-optimizer يظهر لدي الخطأ التالي:

$ composer require spatie/laravel-image-optimizer
Using version ^1.4 for spatie/laravel-image-optimizer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package spatie/browsershot (locked at 3.30.0, required as ^3.31) is satisfiable by spatie/browsershot[3.30.0] but these conflict with your requirements or minimum-stability.


Installation failed, reverting ./composer.json to its original content.

كيف يمكنني حل هذه المشكلة؟

Recommended Posts

  • 0
نشر

تتطلب الحزمة 

spatie/laravel-image-optimizer

أن تكون موجودة حزمة 

spatie/browsershot

ثم يجب عليك تنزيل الحزمتين عن طريق الأمرين المنفصلين 

composer remove spatie/browsershot;
composer require spatie/laravel-image-optimizer;

 

انضم إلى النقاش

يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.

زائر
أجب على هذا السؤال...

×   لقد أضفت محتوى بخط أو تنسيق مختلف.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   جرى استعادة المحتوى السابق..   امسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

  • إعلانات

  • تابعنا على



×
×
  • أضف...