Monday, March 13, 2017

.homestead nor Homestead.yaml is showing up after running bash init.bat

I got homestead folder from git bash using git clone https://github.com/laravel/homestead.git Homestead into Documents folder.When I cd into Homestead folder and when I run bash init.bat this is what it shows up and it won't create .homestead folder

$ 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"] ('

if i run bash init.sh it shows:

$ 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!

but no .homestead folder or Homestead.yaml shows up



via Ardit Mata

Advertisement