If you don't have this file on your computer:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe
Try installing correct version of MSBuild.exe
using link from question: Are Visual Studio 2017 Build Tools still available for download?:
If you get another error after that, like The imported project "X:\Microsoft.Cpp.Default.props" was not found.
, try the command:
npm config set msvs_version 2019