.NET framework or Visual Studio required component

“.NET framework or Visual Studio required component”

Windows Install Error.

Error was with the .NET framework or Visual Studio required component. Keyword “node docular .net framework”. I know I already have .NET Framework installed… So it’s saying to install Microsoft Windows SDK for Windows Server 2008…


Prerequisites on Windows:

* Python (v2.7.3 recommended, v3.x.x is not supported)

* Microsoft Visual Studio C++ 2010 (Express version works well)

    ** For 64-bit builds of node and native modules you will also need the Windows 7 64-bit SDK
    ** If the install fails, try uninstalling any C++ 2010 x64&x86 Redistributable that you have installed first.
    ** If you get errors that the 64-bit compilers are not installed you may also need the compiler update for the Windows SDK 7.1

* Windows 7/8:
    ** Microsoft Visual Studio C++ 2012 for Windows Desktop (Express version works well)

Ok, I’m using Windows 7 64-bit so it looks like we need to install Microsoft Visual Studio C++ 2012.
Let’s go express which is a lightweight version. http://www.microsoft.com/visualstudio/eng/downloads#d-2012-express
This still needs 4.53GB of HD space!


A Full List of Install Steps (which may help or move you to use Linux to run Node).

Install Visual Studio 2010/2012 C++ (Express or Full)

Install Windows SDK 7.1

Install "Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for the Windows SDK 7.1"

Install GTK (C:\GTK)

Install Python (C:\Python27)

Install node.js (x86)

Add [node.js] to path (C:\Program Files (x86)\nodejs\;)

Add [python] to path (C:\Python27\;)

Add [GTK] to path (C:\GTK\bin;)

Add [WindowsSDKDir] System Variable pointing to "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin"

Run "Windows SDK 7.1 Command Prompt" as Administrator

Set environment to x86 using "setenv /x86"

Change directory to "C:\Program Files (x86)\nodejs\"

Run "
npm install -g npm"

Run "
npm update -g npm"

Run "
npm install -g node-gyp"

Run "
node-gyp configure build"

Run "
npm install jsdom"

Run "
npm install ajax"

Run "
npm install http-server"

Run "
npm install jquery"

Run "
npm install xmlhttprequest"

Run "
npm update"

Good post to help setup on windows: http://www.steveworkman.com/node-js/2012/installing-jsdom-on-windows/