Home>

Language: PHP (laravel)
Contents: Development of local development environment

Error message

When you access 192.168.10.10, the following will appear

No input file specified.
Applicable source code
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
   -~/.ssh/id_rsa
folders:
   -map: C: \ app \ workspace \ products
     to:/home/vagrant/products
sites:
   -map: homestead.test
     to:/home/vagrant/products/product1/public
databases:
   -homestead
Tried

I would like to carefully check directory typos.

Supplemental information (FW/tool version etc.) Append

/home/vagrantproductsdirectory does not seem to exist in the first place.

  • Answer # 1

    After entering the virtual machine with

    vagrant ssh, runls/home/vagrant/productsto find it in theproductsdirectory Please check if the source code of Laravel is placed properly.

    Append

    Execute the following in order.

    # Delete products once
    rm -rf/home/vagrant/products
    # recreate products
    mkdir/home/vagrant/products
    # create a laravel project
    laravel new/home/vagrant/products/product1

    If this doesn't work,Homestead.yamlsettings may not be reflected correctly, so get out of the virtual machine

    vagrant reload --provision
    Please execute

    and restart the virtual machine and execute the above command again.

  • Answer # 2

    The question is Homestead.yaml

    laravel new/home/vagrant/products/product1


    Please try again.