天天看點

Vagrant up指令 報錯處理

報錯資訊

No usable default provider could be found for your system.

Vagrant relies on interactions with 3rd party systems, known as

"providers", to provide Vagrant with resources to run development

environments. Examples are VirtualBox, VMware, Hyper-V.

The easiest solution to this message is to install VirtualBox, which

is available for free on all major platforms.

If you believe you already have a provider available, make sure it

is properly installed and configured. You can see more details about

why a particular provider isn't working by forcing usage with

`vagrant up --provider=PROVIDER`, which should give you a more specific

error message for that particular provider.
           

因為安裝了最新的VirtualBox,vagrant還是以前的舊版本,

簡單來說就是Vagrant和Virtualbox版本不相容了

解決方法:

解除安裝舊版本去官網https://developer.hashicorp.com/vagrant/downloads下載下傳最新的安裝即可