繁体   English   中英

无法安装laravel

[英]Failed to install laravel

我在Visual Studio代码中由作曲者安装laravel框架。 作曲家创建了laravel / laravel ems项目,但是无法安装laravel。 这是消息$ composer create-project laravel / laravel ems安装laravel / laravel(v5.5.0)-安装laravel / laravel(v5.5.0):下载(失败)下载(失败)下载(失败)无法下载laravel / dist的laravel:无法下载“ https://api.github.com/repos/laravel/laravel / zipball / a6c68c24c9938beef0128c3288502b8fbdf8e93d”文件:无法打开流:处于诱惑的连接失败,因为连接方未正确响应一段时间后,或由于连接的主机未能响应而导致建立连接失败。

Now trying to download from source

-安装laravel / laravel(v5.5.0):从缓存中克隆a6c68c24c9

[RuntimeException]无法通过https,ssh协议克隆https://github.com/laravel/laravel.git ,异常终止。 -https: //github.com/laravel/laravel.git克隆到'C:\\ xampp \\ htdocs \\ ems'...致命:无法访问' https://github.com/laravel/laravel.git/ ' :无法连接到github.com端口443:提要退出-git@github.com:laravel / laravel.git克隆到'C:\\ xampp \\ htdocs \\ ems'... ssh:连接到主机github.com端口22:连接超时致命:无法从远程存储库读取。

Please make sure you have the correct access rights
and the repository exists.

创建项目[-s |-稳定稳定性] [-首选源] [-首选-dist] [-存储库存储库] [-存储库URL存储库URL] [--dev] [- no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [-] [] [] []

我想您会错过一些“ --prefer-dist”

composer create-project --prefer-dist laravel/laravel projectName

看看文档https://laravel.com/docs/5.5

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM