'Failed to create react app with Visual Studio 2022 / Win 11

I tried to create a plain ReactJS project in Visual Studio 2022 17.1.0 / Windows 11 Build 22557 after close the wizard it shows this error. I've tried to delete the reg keys but they dont exists. So what's the problem here?

Error



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source