【发布时间】:2018-03-02 08:25:04
【问题描述】:
我在 Visual Studio 代码中安装了 composer 的 laravel 框架。 作曲家创建项目 laravel/laravel ems 但它未能安装 laravel。 这是消息 $ 作曲家创建项目 laravel/laravel ems 安装 laravel/laravel (v5.5.0) - 安装 laravel/laravel (v5.5.0):正在下载(失败) 下载(失败) 下载(失败) 从 dist 下载 laravel/laravel 失败:“https://api.github.com/repos/laravel/laravel /zipball/a6c68c24c9938beef0128c3288502b8fbdf8e93d" 文件无法下载:无法打开流:连接位于 尝试失败,因为连接方一段时间后没有正确响应,或者建立连接fai led 因为连接的主机没有响应。
Now trying to download from source
- 安装 laravel/laravel (v5.5.0):从缓存中克隆 a6c68c24c9
[运行时异常] 无法通过 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:Tim 淘汰 - 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.
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url 存储库 URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [- -保持- vcs] [--no-install] [--ignore-platform-reqs] [--] [] [] []
【问题讨论】:
-
它试图克隆的存储库以 .git/ 结尾。这不是我的任何工具引用的 github 的 url 结构。我相信它应该尝试连接到github.com/laravel/laravel
标签: laravel