LoginSignup
10
11

More than 5 years have passed since last update.

Windowsの日本語名ユーザーにてvagrantを起動する方法

Posted at

Windowsを日本語名ユーザーにて使用している場合にvagrantを起動しようとすると、
Warn the user when in a path that contains special characters #4966
https://github.com/mitchellh/vagrant/issues/4966
に記載されているように
VAGRANT_HOME special characters don't work #2113
https://github.com/mitchellh/vagrant/issues/2113

process_builder.rb:63:in `join': incompatible character encodings: CP850 and ASCII-8BIT (Encoding::CompatibilityError)

runtime.rb:222:in `split': invalid byte sequence in UTF-8 (ArgumentError)

を引き起こす。

よって、回避するには C:¥vagrant_home などの適当な英語パスのフォルダを生成し、
環境変数 VAGRANT_HOME を先ほど作成した C:¥vagrant_home と設定すれば、解決!

10
11
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
10
11