Error when deploying project with github to droplet through forge

  • | 234 points

    Hello Everyone,

    I have used laravel before and now when I heard about laragon I thought I give it a try because I hate the whole vagrant and homestead part.... I am using forge to deploy code to a droplet/server on digital oceans as recommended.

    I have made a gitrepo of my project in laragon/www/gitrepo(project)

    I have everything setup on forge with the meta /public. The site shows nice on locally. When I put it up on the internet I get:

    Warning: require(/home/forge/ failed to open stream: No such file or directory in /home/forge/ on line 17

    Fatal error: require(): Failed opening required '/home/forge/' (include_path='.:/usr/share/php') in /home/forge/ on line 17

    what is wrong?

  • | 234 points

    @brainmaniac Stupid me... had just forgotten to install composer on the server!

  • administrators
    | 76508 points

    Haha..I experienced it once :)
    Glad to hear you sorted it out.

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.