NOTE: If you are using Windows 10, you will want to open an Administrator PowerShell (right-click and choose “Run as administrator”). Once opened, type “npm install –global windows-build-tools –vs2015” and be prepared to wait for at least 30 minutes.
NOTE2: The tips in this video does not work for all cases. If it does not work for you and you need help, the best chance of getting assistance is to search for the error via Google. If that yields nothing, then please add a comment here WITH the stack trace of the error. Without the stack trace, nobody will be able to assist!
If you’re developing NodeJS applications on Windows you may have encountered issues installing dependencies. Some of the problems could be related to not finding PYTHON or msbuild:
Can’t find Python executable “python”, you can set the PYTHON env variable.
Error: `C:WindowsMicrosoft.NETFrameworkv4.0.30319msbuild.exe` failed with exit code: 1
If you’ve seen these errors and aren’t sure what to do, you can easily get rid of these problems by globally installing the “windows-build-tools” dependency.
-=[ Links ]=-