Install fails immediately

When I run basic-install.sh I get the root check with a tick beside followed by the logo, followed by "Cancel was selected, exiting installer". I never had an opportunity to select anything.

I get the same result whether I run it as root or sudo. The automatic install also fails the same way.

On what OS and platform are you installing Pi-Hole?

What were the exact commands you ran to install Pi-Hole. did you clone the repository first, etc.