Import existing Laravel project from Bitbucket

  • | 343 points

    I created a new laragon project using laragon on my PC, and I use bitbucket as a git solution.

    My problem is that I want to checkout my project to my laptop, but I cannot make it work.

    This is the error I get:

    Warning: require(C:\laragon\www\laravel\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in C:\laragon\www\laravel\bootstrap\autoload.php on line 17

    Thanks in advance!

  • administrators
    | 132054 points

    Could you please show me what steps you made? some pics will be helpful

  • | 343 points

    1. Installed laragon on my laptop
    2. Installed SourceTree
    3. Connected to my Bitbucket account using SourceTree
    4. Checked out a branch of my project to a laragon folder inside "www"
      (git fetch && git checkout development)
    5. Tried to access the project
    6. Got the error message

    I have not imported the database yet, but the error I get is not relevant I believe.

    If you need a screenshot for any of the above steps please let me know!

  • administrators
    | 132054 points

    @mystic :
    Try running compose install first

    composer install

  • | 343 points

    I cannot. Sourcetree needs an empty folder to download the project..

  • administrators
    | 132054 points

    What I mean is after download your project, you run the command:

    1. Open Terminal
    2. Cd to your project dir
    3. Run the command (to ensure packages updated)

  • | 343 points

    It worked! One million thank you! :)

  • administrators
    | 132054 points

    Cool! Glad to hear it worked :)

Log in to reply

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