简体   繁体   中英

cannot install panther under symfony 5

I really need help because I cannot install panther at Symfony 5 project. The Symfony/panther requires facebook/webdriver and everytime I did : composer require facebook/webdriver or composer req symfony/panther

I got this error message :

- facebook/webdriver 1.7.1 requires symfony/process ^2.8 || ^3.1 || ^4.0 -> no matching package found.
- facebook/webdriver 1.7.0 requires symfony/process ^2.8 || ^3.1 || ^4.0 -> no matching package found.
- Installation request for facebook/webdriver ^1.7 -> satisfiable by facebook/webdriver[1.7.0, 1.7.1].

I use Composer version 1.9.1 and PHP 7.2.14

Thanks a lot

It's because symfony/process package has no version with suitable stability for your application. I just had the same problem and adding "minimum-stability": "dev" to composer.json solved this issue for me.

Minimum-stability is "stable" by default.

This problem will be fixed in next release of facebook/webdriver . For now you can install dev version of this package: composer require facebook/webdriver:^1.8@dev And after that you can install symfony/panther Issue here: https://github.com/php-webdriver/php-webdriver/issues/712

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM