为什么我不能再创建laravel项目了?

时间:2018-07-12 19:59:04

标签: php laravel github openssl composer-php

我正在Windows操作系统上的本地服务器上工作, 我过去通常能够正常创建新的laravel项目,但现在我不断遇到这样的错误:

C:\xampp\htdocs>laravel new blog
Crafting application...
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 70 installs, 0 updates, 0 removals
  - Installing doctrine/inflector (v1.3.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download doctrine/inflector from dist: The "https://api.github.com/repos/doctrine/inflector/zipball/5527a48b7313d15261292c149e55e26eae771b0a" 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.3.0): Cloning 5527a48b73 from cache

1 个答案:

答案 0 :(得分:1)

确保您的互联网连接速度没有问题 因此,请检查您的防火墙是否被阻止api.github.com网址