I have been stuck trying to get this to work on my Windows 10 machine. I have followed the docs to a t. I configured WSL and installed Ubuntu. On the first command to run I am getting stuck.
The following command results in the output below
sudo add-apt-repository ppa:ondrej/php
Cannot add PPA: ‘ppa:~ondrej/ubuntu/php’.
ERROR: ‘~ondrej’ user or team does not exist.
I have googled and looked through all the support docs with no luck. Has anyone else ran into this issue? I would prefer to be on a mac but my current job requires me to install this on a PC. Any help is much appreciated.