Question: Im trying to use node and when i go to install the npm packages via 'npm install package.json'  

I am currently using windows 8.1 as my os. It began when I started using redis but im not sure if it is because of redis. The error I get is 

> 
> MSBUILD : error MSB4132: The tools version "2.0" is unrecognized.
>  Available tools versions are "4.0".
> 
> 
> 

The full console print out is [here](http://pastebin.com/CR42N8YW)

If anyone has come across this error and how to fix it would be greatly appreciated

Answer: 
Since most of the answers here are from 2015, thought I provide a fresh guide.

MS build tools can be installed without installing Visual studio. The link below [Check step 3] shows how to install "Visual Studio Installer". You can use it to install the required MS build tools.

<https://learn.microsoft.com/en-us/visualstudio/install/install-visual-studio#step-3--->

Following is a screenshot of the workloads I installed

[![enter image description here](https://i.stack.imgur.com/rTfLH.png)](https://i.stack.imgur.com/rTfLH.png)

**P.S:** You might need to restart your machine
Finally Microsoft is providing [much better solution](https://github.com/nodejs/node-gyp/issues/629#issuecomment-153196245) to build native Node.js packages.