Tramp "No input file specified."

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 #-- The path on my local machine to: /home/vagrant/codebase #-- The path from the vagrant box sites: - map: homestead.app to: /home/vagrant/codebase/Laravel/public #-- The path from the vagrant box which is mapped with folders databases: - homestead variables: - key: APP_ENV value: local 

I also assume that with Vagrant ssh , when a project is created using:

 composer create-project laravel/laravel Laravel --prefer-dist 

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. ?
+5
source share
2 answers

Thank you for your help.

It worked well with the following solutions:

nginx configured manually for my homestead.app

and changed Sync location in Vagrantfile

+1
source

Presumably true, what is in / home / vagrant / codebase will also get into your ~ / Work / PHPWORK / codebase. After installing laravel through the composer, if the "no input file" error persists, you will probably need to reload the configuration with

 vagrant provision 

You should probably also add a homestead.app entry to the hosts file.

+3
source

Source: https://habr.com/ru/post/1233775/


All Articles