Tento instalar o symfony/css-selector, porém dá erro.
$ composer require symfony/css-selector Using version ^5.3 for symfony/css-selector ./composer.json has been updated Running composer update symfony/css-selector Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires symfony/dom-crowler, it could not be found in any version, there may be a typo in the package name.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability settingsee https://getcomposer.org/doc/04-schema.md#minimum-stability for more details.
- It's a private package and you forgot to add a custom repository to find it
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems. You can also try re-running composer require with an explicit version constraint, e.g. "composer require symfony/css-selector:*" to figure out if any version is installable, or "composer require symfony/css-selector:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.