投稿

11月, 2016の投稿を表示しています

vagrant1.8.7で発生するvagrant box addのエラー

vagrantのバージョンを1.8.7にアップデートし、いざboxを追加しようとしたら以下のエラーが発生…。 実行環境 macOS 10.12.1 vagrant 1.8.7 エラー内容 $ 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:  対策 以下のCurlを一度削除するとうまくいくらしい。 $ sudo rm -rf /opt/vagrant/embedded/bin/curl 元ネタ【1.8.7 fails to download or update boxes】 https://github.com/mitchellh/vagrant/issues/7969

brewでphp7をインストールした際のエラー対応

1. brewコマンドでPHP7をインストール vagrant $ brew install homebrew/php/php70 ==> Tapping homebrew/php Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-php'... remote: Counting objects: 658, done. remote: Compressing objects: 100% (426/426), done. remote: Total 658 (delta 375), reused 410 (delta 230), pack-reused 0 Receiving objects: 100% (658/658), 301.89 KiB | 319.00 KiB/s, done. Resolving deltas: 100% (375/375), done. Checking connectivity... done. Tapped 633 formulae (673 files, 1.2M) ==> Installing php70 from homebrew/php ==> Installing dependencies for homebrew/php/php70: libpng, freetype, gettext, icu4c, jpeg, libxml2, unixodbc ==> Installing homebrew/php/php70 dependency: libpng ==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.25.sierra.bottle ######################################################################## 100.0% ==> Pouring libpng-1.6.25.sierra.bottle.tar.gz 🍺 /usr/local/Cellar/libpng/1.6.25: 25 files, 1.2M ==> Inst