无法使用作曲家下载laravel安装程序,无法连接到symfony存储库



正如官方文档所说,我正在尝试通过Composer(在Windows 10中)下载Laravel 5.3安装程序,但是当我在控制台中执行此命令时

composer global require "laravel/installer"

过了一会儿,我得到了这个:

Using version ^1.3 for laravel/installer
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing symfony/process (v3.1.7)
    Loading from cache
    Failed to download symfony/process from dist: Invalid argument (C:UsersNicolßsAppDataRoamingComposervendor/symfony/process/510d7cdfaba888079a59ff4e97c9d707)
    Now trying to download from source
  - Installing symfony/process (v3.1.7)
    Cloning 66de154ae86b1a07001da9fbffd620206e4faf94 from cache
Installation failed, deleting ./composer.json.

  [RuntimeException]
  Failed to clone https://github.com/symfony/process.git via https, ssh protocols, aborting.
  - https://github.com/symfony/process.git
    Cloning into 'C:UsersNicolásAppDataRoamingComposervendorsymfonyprocess'...
    "git-upload-pack 'C:/Users/Nicolás/AppData/Local/Composer/vcs/https---github.com-symfony-process.git'": git-upload-pack 'C:/Users/Nicolás/AppData/Local/Composer/vcs/https---github.com-s
  ymfony-process.git': No such file or directory
    fatal: Could not read from remote repository.
    Please make sure you have the correct access rights
    and the repository exists.
    fatal: The remote end hung up unexpectedly
  - git@github.com:symfony/process.git
    Cloning into 'C:UsersNicolásAppDataRoamingComposervendorsymfonyprocess'...
    Host key verification failed.
    fatal: Could not read from remote repository.
    Please make sure you have the correct access rights
    and the repository exists.

显然,我不能克隆符号/过程回购。但是后来我尝试用gitclone手动执行此操作,我可以完美地连接和克隆回购。

请帮助。


参考https://laravel.com/docs/5.3

如果您的目标是与Laravel一起发展。获取此工具:https://laragon.org/laragon它使Windows上的Laravel开发很酷。

最新更新