I am following this tutorial,
I installed Docker and WSL2(Ubuntu 20.04.4 LTS) on my windows system, as shown in image below,
When i am trying to run Laravel project using command,
./vendor/bin/sail up
Why i am getting error no such file or directory found?
3
Answers
Instead of:
Use this:
composer update && npm install
worked for meThis worked for me:
Step 1
In your terminal, run this to open your .bash_profile file :
And paste this :
Exit and save the modification.
Step 2
Still in your terminal, run this to open your
.bashrc file :
And paste this :
Exit and save the modification.
Step 3
You can now open any Laravel project using Sail and write the following command to start it :
Or to run it on background:
I’m using Ubuntu 20.04 on WSL2