0
正如官方文档所述,我试图通过作曲家(在Windows 10中)下载laravel 5.3安装程序,但是当我执行此命令时在控制台无法下载使用作曲家的laravel安装程序,无法连接到symfony repo
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
- [email protected]: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.
Aparently,我不能克隆的symfony /过程回购。但后来我尝试用gitclone手动完成,我可以完美地连接和克隆回购。
请帮忙。
参考 https://laravel.com/docs/5.3
这并不能真正解决问题,但这是一种不同的方法,谢谢 –
是的,这是一种不同的方法。欢迎。 –