Post

请问一下安装微信登录插件提示这个怎么回事




root@iZ7xvarlmkkckcy4gp180fZ:/data/fresns# php artisan market:require WeChatLogin
Owner: root
Path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Proxy:

/usr/bin/php
PHP 8.2.24 (cli) (built: Sep 27 2024 04:05:15) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.24, Copyright (c) Zend Technologies with Zend OPcache v8.2.24, Copyright (c), by Zend Technologies

/usr/bin/composer
Composer version 2.7.1 2024-02-09 15:26:28

/usr/bin/git
git version 2.43.0

# Composer Diagnose

Checking composer.json: OK
Checking platform settings: OK
Checking git settings: OK git version 2.43.0
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com rate limit: OK
Checking disk free space: OK
Checking Composer and its dependencies for vulnerabilities: WARNING
Could not find Composer's installed.json, this must be a non-standard Composer installation.
Composer version: 2.7.1
PHP version: 8.2.24
PHP binary path: /usr/bin/php8.2
OpenSSL version: OpenSSL 3.0.13 30 Jan 2024
cURL version: 8.5.0 libz 1.3 ssl OpenSSL/3.0.13
zip: extension present, unzip present, 7-Zip not available

# Fresns Plugin Command

Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- laravel/framework[v11.20.0, ..., 11.x-dev] require 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 these do not match your constraint and are therefore not installable. Make sure you either fix the constraint or avoid updating this package to keep the one present in the lock file (fruitcake/php-cors[v1.3.0]).
- Root composer.json requires laravel/framework ^11.20 -> satisfiable by laravel/framework[v11.20.0, ..., 11.x-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Failed to install packages, calc composer.json hash value fail
Failed to update plugin dependency
https://discuss.fresns.org/post/03fin3TT

Unable to operate without login

Comment 4

删除根目录 composer.lock 文件,然后再试试。

https://discuss.fresns.org/comment/AKNXALrf
羊羊羊 : 删除了还是不行
羊羊羊 : 我的版本是最新的了,镜像也是aliyun的服务器,安装插件始终报错的 [Image]
Jevan : 不要用阿里云镜像,已经四五年不更新了,网站上显示更新的日期是假的。 https://fresns.cn/guide/configs.html#%E4%B8%AD%E5%9B%BD%E5%8A%A0%E9%80%9F%E9%85%8D%E7%BD%AE 用了这个就不要用任何镜像了,已经代理加速了。
Total 3 comments
Scroll up to load more