When trying to npm install something on Windows through Administrative PowerShell or CMD, you can sometimes encounter an error with something about "Microsoft.cpp", then this might help solve your issue. I was trying to install the Sleep module
into my Node.js program, and it failed with exit code 1; as seen below. The solution was installing Python and Visual Studio Build Tools, with the commands at the bottom of the page.
Steps to solve the issue (Installing Python and Visual Studio Build Tools):
Below is a picture of the solution, after it's complete.