Import existing Laravel project from Bitbucket
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!
Could you please show me what steps you made? some pics will be helpful
- Installed laragon on my laptop
- Installed SourceTree
- Connected to my Bitbucket account using SourceTree
- Checked out a branch of my project to a laragon folder inside "www"
(git fetch && git checkout development)
- Tried to access the project
- 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!
Try running compose install first
I cannot. Sourcetree needs an empty folder to download the project..
What I mean is after download your project, you run the command:
- Open Terminal
- Cd to your project dir
- Run the command (to ensure packages updated)
It worked! One million thank you!
Cool! Glad to hear it worked