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.
环境:osx 10.11,vagrant 1.7.4
以上是详细的错误信息,虽然使用vagrant up [id] 可以解决,但是之前不需要指定也可以的,是什么问题?
我个人感觉怎么不是在vagrantfile目录运行 所以报这个错了