仮想環境がよくわからないままに、「なんかみんな使ってて流行りみたいなので使ってみよう」と非常にミーハーな感じでやり始めたVagrantさま。人様が掲載しているコマンドをコピペする日々が続いています。自分がやっていることがわからない。
スポンサードリンク
Vagrant upしようとした時に詰まった。
destroyしたり,新しいフォルダ作ったりしていたら以下のようなエラーが。VirtualBoxアンインストールしたりネットで検索して適当にコマンドコピペしてもどうにもならない。
1 2 3 4 5 |
VirtualBox error: VBoxManage: error: Could not rename the directory '/Users/aaaaaaaaa/VirtualBox VMs/vccw-xenial64_default_1481252133975_59103_2434236254602847_71961' to '/Users/aaaaaaaaaa/VirtualBox VMs/vccw.dev' to save the settings file (VERR_ALREADY_EXISTS) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component SessionMachine, interface IMachine, callee nsISupports VBoxManage: error: Context: "SaveSettings()" at line 3052 of file VBoxManageModifyVM.cpp |
結論から言うと
ユーザー名/VirtualBox VMs/の中にある使わなくなったゴミファイルを消すことでvagrant upできた。