安装主题模板时出现这样,怎么办?
Owner: www
Path: /usr/local/bin:/usr/bin
Proxy:
/usr/bin/php
PHP 8.2.19 (cli) (built: Jul 14 2024 13:51:03) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.19, Copyright (c) Zend Technologies with Zend OPcache v8.2.19, Copyright (c), by Zend Technologies
/usr/bin/composer
PHP version 8.2.19 (/www/server/php/82/bin/php)
Run the "diagnose" command to get more detailed diagnostics output.
Composer version 2.7.7 2024-06-10 22:11:12
/usr/bin/git
git version 1.8.3.1
# Composer Diagnose
Checking composer.json: OK
Checking platform settings: OK
Checking git settings: WARNING
Your git version (1.8.3.1) is too old and possibly will cause issues. Please upgrade to git 2.24 or above
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com rate limit: OK
Checking disk free space: OK
Checking pubkeys: FAIL
Missing pubkey for tags verification
Missing pubkey for dev verification
Run composer self-update --update-keys to set them up
Checking Composer version: FAIL
[Composer\Downloader\TransportException] curl error 28 while downloading
https://getcomposer.org/versions: Operation timed out after 10004 milliseconds with 0 out of 0 bytes received
Checking Composer and its dependencies for vulnerabilities: OK
Composer version: 2.7.7
PHP version: 8.2.19
PHP binary path: /www/server/php/82/bin/php
OpenSSL version: OpenSSL 1.1.1o 3 May 2022
curl version: 7.74.0 libz 1.2.7 ssl OpenSSL/1.1.1o
zip: extension present, unzip present, 7-Zip not available
# Fresns Plugin Command
./composer.json has been updated
Running composer update fresns/website-engine
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 laravel/framework ^11.14 -> satisfiable by laravel/framework[11.x-dev].
- laravel/framework 11.x-dev requires fruitcake/php-cors ^1.3 -> found fruitcake/php-cors[dev-feat-setOptions, dev-master, dev-main, dev-test-8.2, v0.1.0, v0.1.1, v0.1.2, v1.0-alpha1, ..., 1.2.x-dev (alias of dev-master)] but it does not match the constraint.
Problem 2
- laravel/framework 11.x-dev requires fruitcake/php-cors ^1.3 -> found fruitcake/php-cors[dev-feat-setOptions, dev-master, dev-main, dev-test-8.2, v0.1.0, v0.1.1, v0.1.2, v1.0-alpha1, ..., 1.2.x-dev (alias of dev-master)] but it does not match the constraint.
- fresns/market-manager[v4.0.0, ..., 4.x-dev] require laravel/framework ^9.0|^10.0|^11.0 -> satisfiable by laravel/framework[11.x-dev].
- Root composer.json requires fresns/market-manager ^4.0 -> satisfiable by fresns/market-manager[v4.0.0, v4.0.1, v4.0.2, 4.x-dev].
You can also try re-running composer require with an explicit version constraint, e.g. "composer require fresns/website-engine:*" to figure out if any version is installable, or "composer require fresns/website-engine:^2.1" if you know which you need.
Installation failed, reverting ./composer.json to its original content.
Failed to install fresns/website-engine
安装失败