首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Laravel错误:

Laravel错误:
EN

Stack Overflow用户
提问于 2017-03-15 08:34:22
回答 1查看 1.3K关注 0票数 0

我在我的Windows系统中安装laravel。我已经安装了作曲家。但是作曲家在尝试创建一个新的laravel项目的同时也存在一些问题。

我从cmd进行了作曲家诊断,结果如下:

代码语言:javascript
运行
复制
composer diagnose
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com rate limit: FAIL
[Composer\Downloader\TransportException] The       "https://api.github.com/rate_limit" file could not be downloaded: SSL operation   failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify    failed
Failed to enable crypto
failed to open stream: operation failed

Laravel错误:

代码语言:javascript
运行
复制
new laravel_demo_1
Crafting application...
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 59 installs, 0 updates, 0 removals
   - Installing doctrine/inflector (v1.1.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download doctrine/inflector from dist: The "https://api.github.com/repos/doctrine/inflector/zipball/90b2128806bfde671b6952ab8bea493942c1fdae" file could not be downloaded: SSL operation failed with code     1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify  failed
Failed to enable crypto
failed to open stream: operation failed
Now trying to download from source
  - Installing doctrine/inflector (v1.1.0): Cloning 90b2128806 from cache
  - Installing erusev/parsedown (1.6.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download erusev/parsedown from dist: The "https://api.github.com/repos/erusev/parsedown/zipball/20ff8bbb57205368b4b42d094642a3e52dac85fb" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:......
EN

回答 1

Stack Overflow用户

发布于 2017-03-15 10:02:07

看来,由于未通过身份验证的访问,您只是达到了Github的限制。

无法下载"https://api.github.com/rate"文件: OpenSSL操作失败,代码1。OpenSSL错误消息:

因此,仅仅验证一下自己就足够了:

  1. 登录到您的GitHub帐户并单击侧栏中的“应用程序”
  2. 在“个人访问令牌”下创建一个新令牌
  3. 在项目的文件夹do:中
    • composer config github-oauth.github.com YOUR-TOKEN

应该是这样的。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/42804615

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档