psliwa / image-optimizer

Image optimization / compression library. This library is able to optimize png, jpg and gif files in very easy and handy way. It uses optipng, pngquant, pngcrush, pngout, gifsicle, jpegoptim and jpegtran tools.
MIT License
909 stars 141 forks source link

Showing psr/log installation error with laravel 5.7 #63

Closed umairali closed 5 years ago

umairali commented 5 years ago

I am trying to install in laravel 5.7 but its showing psr/log error and not supporting latest psr/log package.

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for ps/image-optimizer ^1.2 -> satisfiable by ps/imag   e-optimizer[1.2.0].
    - Conclusion: remove psr/log 1.1.0
    - Conclusion: don't install psr/log 1.1.0
    - ps/image-optimizer 1.2.0 requires psr/log 1.0.* -> satisfiable by psr/log[1.0.0, 1.0.1, 1.0.2].
    - Can only install one of: psr/log[1.0.0, 1.1.0].
    - Can only install one of: psr/log[1.0.1, 1.1.0].
    - Can only install one of: psr/log[1.0.2, 1.1.0].
    - Installation request for psr/log (locked at 1.1.0) -> satisfiable by psr/log[1.1.0].

Installation failed, reverting ./composer.json to its original content.
free6k commented 5 years ago

+1

umairali commented 5 years ago

64 #59

sishen007 commented 5 years ago

同求

psliwa commented 5 years ago

It should be fixed in 1.2.1 version: https://github.com/psliwa/image-optimizer/pull/65. Can you confirm that it doesn't work in 1.2.1 version and give me an error output?