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: 
Finally Microsoft is providing [much better solution](https://github.com/nodejs/node-gyp/issues/629#issuecomment-153196245) to build native Node.js packages.
Open up a new cmd as administrator and run this command:

```
npm install --global --production windows-build-tools

```

then

```
npm config set msvs_version 2015 --global

```

close all instances of shell/cmd, reopen a cmd (regular this time, non-administrator) return to your directory where you are trying to run npm install and run it again

**NOTE:**

If you're seeing this in 2019, you may need

```
npm config set msvs_version 2017

```