正在Vagrant中同步文件夹-错误消息
我把文件夹从我的mac电脑同步到我的vagrant虚拟机,效果很好,但现在每当我尝试“vagrant up”时,我都会出错。 这是我正在使用的文件中的行:正在Vagrant中同步文件夹-错误消息,vagrant,sync,Vagrant,Sync,我把文件夹从我的mac电脑同步到我的vagrant虚拟机,效果很好,但现在每当我尝试“vagrant up”时,我都会出错。 这是我正在使用的文件中的行: config.vm.synced_folder “../data", "/vagrant_data" 这就是我看到的错误: There is a syntax error in the following Vagrantfile. The syntax error message is reproduced below
config.vm.synced_folder “../data", "/vagrant_data"
这就是我看到的错误:
There is a syntax error in the following Vagrantfile.
The syntax error
message is reproduced below for convenience:
/Users/mbair2/dl_webcast/Vagrantfile:43: unknown regexp options - vagrat
/Users/mbair2/dl_webcast/Vagrantfile:43: syntax error, unexpected
tIDENTIFIER, expecting keyword_end
config.vm.synced_folder “../data", "/vagrant_data"
^
我已准备好主机文件夹../data。如果您有任何建议,请告诉我。重新安装后,我发现我有一个额外的“空间”导致问题