Please try the following steps to resolve the issue:
Step 1. Turn off your computer and disconnect all other storage drives, leaving only the target SSD connected.
Step 2. Enter your motherboard’s BIOS, restore the default settings, and ensure that both AHCI and UEFI modes are enabled. Save the configuration and exit.
Step 3. Boot into the OS installer. When you reach the drive selection screen, delete all existing partitions on the target SSD, and then proceed with the installation.