The command I used (run as administrator):
npm install --global --production windows-build-tools

The command I used (run as administrator):
npm install --global --production windows-build-tools

I also faced the same problem and I tried with the below command, it worked.
npm install --global --production windows-build-tools@4.0.0
Regards, venkatesh.
I am running into the issue above. After google, I luckily find a related thread on github about how to resolve stuck when installing windows-build-tool with npm from powershell on Windows. The following are a bunch of screenshots.
I was experiencing this issue and solved it by following this guide: https://spin.atomicobject.com/2019/03/27/node-gyp-windows/
Another option is to try installing the build tools via Chocolatey instead (use an Administrator command line):
choco install python visualstudio2017-workload-vctools -y
Credits to karlhorky
Spot On!!
You can simply hit below command:
npm install --global windows-build-tools@4.0.0
It will work for sure. Thanks