今天,我嘗試添加框laravel宅基下面的文檔laravel首頁。但我在使用Windows 8.1的筆記本電腦中出現錯誤。第一步,我安裝了vagrant,virtualbox並使用語法vagrant box add laravel/homestead
。它會顯示錯誤日誌git bash:錯誤當試圖添加框拉拉維爾/宅基
The box 'laravel/homestead' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:
URL: ["https://atlas.hashicorp.com/laravel/homestead"]
Error:
然後我嘗試語法:vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead
。它會顯示錯誤:
$ vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'laravel/homestead' (v0) for provider:
box: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead
box:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
同樣,我跑:rm ~/.vagrant.d/tmp/*
和vagrant up
。但不工作。另外,另一臺電腦一切都很好。我可以做什麼,有人嗎?
你檢查這http://stackoverflow.com/questions/30750232/the-box-laravel-homestead-could-not-be-found? –
請同時在這裏檢查https://github.com/mitchellh/vagrant/issues/6754 –
是的,我check.I已經運行:'vagrant init box/name'和'vagrant up'但顯示相同的錯誤 –