Aiz
Aiz

Reputation: 3

Using Laravel Homestead: "no input file specified"

I'm new to this so it's kinda have been taking me a while to set up, but following the official guide I still don't know where did I go wrong, my homestead.yaml looks like this


ip: "192.168.10.10" memory: 2048 cpus: 2 provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys: - ~/.ssh/id_rsa

folders: - map: C:\Users\user\Documents\Projects

to: /home/vagrant/code

sites: - map: homestead.test

to: /home/vagrant/code/public

databases: - homestead

features: - mariadb: false - ohmyzsh: false - webdriver: false

my host file looks like this:

192.168.10.10 homestead.test

but whenever I try to access http://homestead.test/ I get "no input file specified" and I've tried most of the solutions online with entering vagrant reload --provision and go through vagrant ssh and then create a new project using composer. Nothing worked for me.

I'd appreciate any additional guidance.

P.S.: I'm using Windows 10

Upvotes: 0

Views: 164

Answers (1)

Kurt Chun
Kurt Chun

Reputation: 421

For homestead.yaml file, the spacing has to be 'spacebar' space, and spacing, indentation must be same as provide.

From the file alignment, clearly the spacing and indentation has ran off.

Upvotes: 0

Related Questions