0
運行宅基地,當我我的控制檯上運行homestead up
我得到一個語法錯誤是這樣的:語法錯誤,當我在我的控制檯
There is a syntax error in the following Vagrantfile. The syntax error
message is reproduced below for convenience:
C:/Users/Evan Oscar/AppData/Roaming/Composer/vendor/laravel/homestead/Vagrantfile:6: syntax error, unexpected $undefined, expecting ')'
..."C:\cygwin64\home\"Evan Oscar"\.homestead\.vagrant\homestead...
... ^
C:/Users/Evan Oscar/AppData/Roaming/Composer/vendor/laravel/homestead/Vagrantfile:7: syntax error, unexpected tCONSTANT, expecting end-of-input
...criptPath = File.expand_path("C:\cygwin64\home\Evan Oscar\.h...
... ^
有人能告訴我是什麼原因造成的語法錯誤?
我認爲它是我的homestead.yaml
文件夾的PATH
導致問題?
這裏是我的Vagrantfile的PATH
:
homesteadYamlPath = File.expand_path("C:\cygwin64\home\"Evan Oscar"\.homestead\.vagrant\homestead.yaml")
afterScriptPath = File.expand_path("C:\cygwin64\home\"Evan Oscar"\.homestead\.vagrant\after.sh")
aliasesPath = File.expand_path("C:\cygwin64\home\"Evan Oscar"\.homestead\.vagrant\aliases")
刪除標籤;提高英語;改進格式。 – 2015-03-13 18:10:35