【发布时间】:2017-03-14 00:06:59
【问题描述】:
我使用 git clone https://github.com/laravel/homestead.git Homestead 从 git bash 将 homestead 文件夹放入 Documents 文件夹中。当我 cd 进入 Homestead 文件夹并运行 bash init.bat 时,它会显示它并且不会创建 .homestead 文件夹
$ bash init.bat;
init.bat: line 1: @echo: command not found
init.bat: line 3: syntax error near unexpected token `newline'
init.bat: line 3: `if ["%~1"]==["json"] ('
如果我运行 bash init.sh 它会显示:
$ bash init.sh;
cp: cannot stat 'src/stubs/Homestead.yaml': No such file or directory
cp: cannot stat 'src/stubs/after.sh': No such file or directory
cp: cannot stat 'src/stubs/aliases': No such file or directory
Homestead initialized!
但没有出现.homestead 文件夹或Homestead.yaml
【问题讨论】: