here is the oversimplified version for you.
I was able to resolve this by adding the below to PATH
%USERPROFILE%\AppData\Local\Microsoft\WindowsApps
Open windows explorer and paste the below line in the directory it will resolve to your user profile and the copy that address and go to System properties -> environmental variables -> select PATH and click on edit -> New and pate the copied address -> ok -> ok -> ok.