I am a python developer and my company wanted to make a project in PHP -laravel. He also wanted me to start with Vagrant . So I came across this simple tutorial and tried to start with it. But still, I get the error message Input file not specified.
I searched from this day all day for this problem, I came across many messages that include the same query. I tried almost all the solutions from laravel.io and some stack overflow requests, but didn’t get the exact solution.
Directory structure:
Git Cloned Manor - /home/laxmikant/Work/PHPWORK/Homestead
Mapped location - /home/laxmikant/Work/PHPWORK/codebase (completely empty directory)
Folders mapped to : /home/vagrant/codebase (contains the Laravel project)
Here is my Homestead.yaml
--- ip: "192.168.10.10" memory: 2048 cpus: 1 provider: virtualbox authorize: ~/.ssh/id_rsa.pub keys: - ~/.ssh/id_rsa folders: - map: ~/Work/PHPWORK/codebase
I also assume that with Vagrant ssh , when a project is created using:
composer create-project laravel/laravel Laravel
It should also be synchronized with the codebase box codebase directory codebase Thus, the queries:
- Is this assumption correct? if so, why
map and to not synchronized? and - What is the reason for getting the error
"No input file specified. ?
source share