laravel10安装报错Your requirements could not be resolved to an installable set of packages.
Your requirements could not be resolved to an installable set of packages.

安装laravel10的时候报了好多错误,首先php需要8.2,然而我使用的phpstudy 不支持,需要自行下载
安装后又涉及好多拓展需要手动打开,解决了扩展错误问题
继续安装又报了图片上的错误,然后开始搜搜,最后发现是镜像源的问题
切换镜像源
composer config -g repo.packagist composer https://packagist.org
最后安装成功
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
