I can't create a project

i just downloaded the unreal engine five, and when i’m about to create a project, a window pop up and said “An error occurred while trying to generate project files.”

Some Platforms were skipped due to invalid SDK setup: Win64.
See the log file for detailed information

Generating VisualStudio project files:
Discovering modules, targets and source code for project…
Visual Studio 2019 is installed, but is missing the C++ toolchain. Please verify that the “MSVC v142 - VS 2019 C++ x64/x86 build tools (Latest)” component is selected in the Visual Studio 2019 installation options.
Visual Studio 2022 x64 must be installed in order to build this target.

It is quite self explanatory log.
You need to install Visual Studio 2022 and make sure that you select option for game dev C++.