3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Vagrantが古いと"The box 'laravel/homestead' could not be found"になる

Last updated at Posted at 2019-03-23

エラー発生

手持ちのMacに、Laravelの開発環境であるHomesteadをインストールする途中で、エラーが発生した。

$ vagrant box add laravel/homestead
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: The requested URL returned error: 404 Not Found

box名の綴りを見直したり、vagrant loginのためのアカウントが必要なのか?と、ちょっと困ったが、理由はvagrantが古いことだった。(昔、インストールしたままMacを開発環境として使わなくなったていたので)

$ vagrant --version
Vagrant 1.8.1

解決

Vagrantをアップデートした。以下のサイトからdmgファイルをダウンロードし、インストール。
https://www.vagrantup.com/downloads.html

ちなみにvagrant_2.2.4_x86_64.dmg

$ vagrant --version
Vagrant 2.2.4

これでエラーがでなくなった

$ vagrant box add laravel/homestead
==> box: Loading metadata for box 'laravel/homestead'
...
3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?