After starting the terminal, try to press the Delete profile button in Command Prompt section of the Settings window:
Or check (and maybe remove) the settings.json file if it is corrupt (https://github.com/microsoft/terminal/wiki/Frequently-Asked-Questions-(FAQ)#where-can-i-find-the-settings-file).