LoginSignup
0
0

More than 3 years have passed since last update.

vagrant upが実行できないとき

Posted at

vagrant upで起動しようとしてもできないときがありました。

$vagrant up

エラー内容

A Vagrant environment or target machine is required to run this command. Run vagrant init to create a new Vagrant environment. Or, get an ID of a target machine from vagrant global-status to run
this command on. A final option is to change to a directory with a Vagrantfile and to try again.

解決策

$cd homestead 
$vagrant up

Homesteadを使ってlaravelの環境構築していたのですが、 Homesteadに移動していなかったので起動できなかったです。。。

0
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
0
0