正如官方文档所述,我正在尝试通过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:\Users\Nicolßs\AppData\Roaming\Composer\vendor/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:\Users\Nicolás\AppData\Roaming\Composer\vendor\symfony\process'...
"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:\Users\Nicolás\AppData\Roaming\Composer\vendor\symfony\process'...
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
显然,我无法克隆symfony / process repo。但后来我尝试用gitclone手动完成,我可以完美地连接和克隆回购。
请帮忙。