node-gyp will throw errors if the requirements is not installed.
python and msbuild.exe follow the instruction below.
Install all the required tools and configurations using Microsoft's windows-build-tools
using npm install --global --production windows-build-tools from an elevated PowerShell or CMD.exe (run as Administrator).
Reference:
https://github.com/nodejs/node-gyp#installation