I am using Windows 10 and composer is installed. When I try to install laravel installer globally using this command:
composer
laravel
composer global r
I noticed this is also happening when changing networks (moving from office to office for example). How I managed to solve it is to restart the docker container. I had this situation happening 2 times already and the same solution helped.