JayBizzle / Crawler-Detect

🕷 CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent
https://crawlerdetect.io
MIT License
1.93k stars 254 forks source link

Unable to install package #516

Closed Imdad-cr7 closed 3 months ago

Imdad-cr7 commented 6 months ago

getting this error while installing Your requirements could not be resolved to an installable set of packages.

Problem 1

You can also try re-running composer require with an explicit version constraint, e.g. "composer require jaybizzle/crawler-detect:*" to figure out if any version is installable, or "composer require jaybizzle/crawler-detect:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

downgraded the version of laravel/sail but still get error enerating optimized autoload files

In ClassMapGenerator.php line 129:

Could not scan for classes inside "D:\chatsite\vendor/phpunit/phpunit/src/" which does not appear to be a file nor a folder

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [...]

please help me out with this as my site is live i cant upgrade php version as it might affect other dependencies