vantoozz / proxy-scraper

Library for scraping free proxies lists
MIT License
82 stars 17 forks source link

Installation error: satisfiable by vantoozz/proxy-scraper[v1.8.0, v1.8.1] #5

Closed marcpre closed 4 years ago

marcpre commented 4 years ago

Hello,

I am using PHP 7.1.33 and Composer version 1.9.1 2019-11-01 17:20:17.

When trying to install proxy-scraper like the following I get an error:

C:\Users\Code\project>composer require php-http/guzzle6-adapter
Using version ^2.0 for php-http/guzzle6-adapter
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 9 installs, 0 updates, 0 removals
  - Installing ralouphie/getallheaders (3.0.3): Loading from cache
  - Installing psr/http-message (1.0.1): Loading from cache
  - Installing guzzlehttp/psr7 (1.6.1): Loading from cache
  - Installing guzzlehttp/promises (v1.3.1): Loading from cache
  - Installing guzzlehttp/guzzle (6.5.2): Loading from cache
  - Installing psr/http-client (1.0.0): Loading from cache
  - Installing php-http/promise (v1.0.0): Loading from cache
  - Installing php-http/httplug (2.1.0): Loading from cache
  - Installing php-http/guzzle6-adapter (v2.0.1): Loading from cache
guzzlehttp/psr7 suggests installing zendframework/zend-httphandlerrunner (Emit PSR-7 responses)
guzzlehttp/guzzle suggests installing psr/log (Required for using the Log middleware)
guzzlehttp/guzzle suggests installing ext-intl (Required for Internationalized Domain Name (IDN) support)
Writing lock file
Generating autoload files

C:\Users\Code\project>composer require vantoozz/proxy-scraper
Using version ^1.8 for vantoozz/proxy-scraper
./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
    - Installation request for vantoozz/proxy-scraper ^1.8 -> satisfiable by vantoozz/proxy-scraper[v1.8.0, v1.8.1].
    - Can only install one of: php-http/httplug[v1.1.0, 2.1.0].
    - Can only install one of: php-http/httplug[v1.1.0, 2.1.0].
    - Can only install one of: php-http/httplug[v1.1.0, 2.1.0].
    - Conclusion: install php-http/httplug v1.1.0
    - Installation request for php-http/httplug (locked at 2.1.0) -> satisfiable by php-http/httplug[2.1.0].

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

Any suggestions what I am doing wrong?

I appreciate your replies!

vantoozz commented 4 years ago

@marcpre Looks, the problem is caused by a fixed php-http/httplug version. I just updated composer.json, please try the newer version. Thank you for the report!

marcpre commented 4 years ago

Tested and works now!