您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

composer 中国源更新出错

2024/2/26 20:13:21发布12次查看
今天在服务器上运行
composer update
给我返回的提示是
> php artisan clear-compiled > php artisan optimize generating optimized class loader > php artisan ide-helper:generate a new helper file was written to _ide_helper.php loading composer repositories with package information [composer\downloader\transportexception] the "https://packagist.phpcomposer.com/packages.json" file could not be downloaded: peer certificate cn=`*.b0.upaiyun.com' did not match expected cn=`packagist.phpcomposer.com' failed to enable crypto failed to open stream: operation failed
不知道这是什么原因?是镜像有问题还是我本地的证书什么的有问题
看如下操作:
c:\upupw\htdocs\laravel>composer update loading composer repositories with package information updating dependencies (including require-dev) - removing illuminate/support (v5.2.37) - removing illuminate/contracts (v5.2.37) - removing illuminate/console (v5.2.37) - removing illuminate/cache (v5.2.37) - removing illuminate/http (v5.2.37) - removing illuminate/session (v5.2.37) - removing illuminate/config (v5.2.37) - removing illuminate/filesystem (v5.2.37) - removing illuminate/translation (v5.2.37) - removing illuminate/pipeline (v5.2.37) - removing illuminate/container (v5.2.37) - removing illuminate/routing (v5.2.37) - removing illuminate/events (v5.2.37) - removing illuminate/database (v5.2.37) writing lock file generating autoload files > illuminate\foundation\composerscripts::postupdate > php artisan optimize generating optimized class loader
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product