当我按照http://laravel.com/docs/5.0/homestead上的说明尝试在Homestead 5盒子上'流浪'时,我收到以下错误。我支持代理,但我相信我已经在Vagrantfile中正确设置了它。
我没有在本地安装作曲家(因为说明书没有包括这个),我需要做些什么?
有没有办法确认这不是我在Vagrantfile中的代理设置的问题?
==> default: [Composer\Downloader\TransportException]
==> default: The "https://getcomposer.org/version" file could not be downloaded: failed to open stream: Cannot connect to HTTPS server through proxy
==> default:
==> default:
==> default:
==> default: self-update [-r|--rollback] [--clean-backups] [--no-progress] [version]
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
答案 0 :(得分:-1)
我有同样的问题。我还通过在Windows的hosts-file中添加一行带有宅基的行来解决该问题:
[ip used in homestead.yaml] homestead
希望这会有所帮助。找到相似的问题很容易,但是很难找到答案。