2017-01-15 6 views
0

私はLaravelのWebサイトでVirtualBoxを通じてHomesteadをインストールする手順を実行しました。Laravel Homesteadをインストールできない - UID /ディレクトリの問題

  1. を実行し、私のアプリケーションのディレクトリ内vagrant box add laravel/homestead
  2. (そのパッケージを介して)ベイグラントをインストールします(そのパッケージを介して)バーチャルボックスをインストールし実行しcomposer require laravel/homestead --dev
  3. 実行php vendor/bin/homestead make

すべてのコンソール出力が上記の成功を示します。アプリのディレクトリ内にHomestead.ymlVagrantfileというファイルがあります。

私はvagrant upを実行

が、私はこのエラーを取得する:

The VirtualBox VM was created with a user that doesn't match the current user running Vagrant. VirtualBox requires that the same user be used to manage the VM that was created. Please re-run Vagrant with that user. This is not a Vagrant issue.

The UID used to create the VM was: ** Your UID is: **

私はsudoを使用し、またの間で切り替えていないとして、これは、起こっているなぜ私はわかりませんよ。

また、バーチャルボックスの環境設定では、ボックスのデフォルトのインストール場所は、/Users/AccountName/VirtualBox VMsになりますが、そのディレクトリは存在しません。

しかし、Vagrantはインストールされているボックスとしてlaravel/homesteadを表示します。

私は正確に何の問題があるのか​​よくわかりません。

助けてください!

答えて

0

あなたは〜/ Homesteadディレクトリにコマンドを書き換えてください。を実行しなければなりません。

関連する問題