Laravel Sail on Windows issue - "cmdlet Invoke-WebRequest at command pipeline position 1"

I tried to install a laravel example app using Laravel Sail. When I executed following command I got following error even I install Docker Desktop in Powershell


cmdlet Invoke-WebRequest at command pipeline position 1 
Supply values for the following parameters: 
Uri: 

Then I tried to find the issue in the laravel documentation. But it is not explained about this issue and recommended steps either. I have found following solution: 

 1) You need to enable WSL in docker desktop.














2) Install WSL on the computer using Windows terminal - https://apps.microsoft.com/detail/9n0dx20hk701?hl=en-US&gl=US Install WSL - https://learn.microsoft.com/en-us/windows/wsl/install 3) You may be able to open tabs in Terminal with installed linux distribution.








Thank you

Comments

Popular posts from this blog

GIT Error: The following untracked working tree files would be overwritten by merge:

How to retrieve data from another table while retrieving data from a table in loadFormData function in Joomla 2.5