connect ETIMEDOUT in installing NodeJS Modules

Error: connect ETIMEDOUT in installing NodeJS Modules

Tried: npm config set registry=””

Still the same error

Next, I disabled proxy in IE settings:

No luck

Then enabled proxy in IE again and set env variable:

Note that in my IE options the Proxy was :

Don’t forget to add http:// and port to it:

Finally do:

npm config set proxy

npm config set https-proxy





nodejs integration with visual studio 2013


Set node modules folder:

Node.js Tools for Visual Studio

  1. Analyse Menu Profiling
  2. Node Package Manager
  3. View Node interactive window
  4. Azure template as well to publish instantly





Example :

  npm install request
Or from source:
  git clone git:// 
cd request
npm link

nodeJS + npm setup

1. Download the msi :
2 .Run the node cmd prompt
3. install modules using npm install command Eg. npm install mongodb
4. in case the GET fails ( Eg. from GET )
then download the repo from github and then install it :

I downlaoded and then :
> C:\Users\khematar>cd C:\Users\khematar\Bin\karma-master\karma-master
> npm install


Additional Setup for Native Modules support (like for node-sass)


  • Install post below prerequisites: On Windows:
    • Option 1: Install all the required tools and configurations using Microsoft’s windows-build-tools using npm install --global --production windows-build-tools from an elevated PowerShell or CMD.exe (run as Administrator).
    • Option 2: Install tools and configuration manually:
      • Visual C++ Build Environment:
        • Option 1: Install Visual C++ Build Tools using the Default Install option.
        • Option 2: Install Visual Studio 2015 (or modify an existing installation) and select Common Tools for Visual C++ during setup. This also works with the free Community and Express for Desktop editions.

        :bulb: [Windows Vista / 7 only] requires .NET Framework 4.5.1

      • Install Python 2.7 (v3.x.x is not supported), and run npm config set python python2.7 (or see below for further instructions on specifying the proper Python version and path.)
      • Launch cmd, npm config set msvs_version 2015
        • Check the right version using this:

    If the above steps didn’t work for you, please visit Microsoft’s Node.js Guidelines for Windows for additional tips.

If you have multiple Python versions installed, you can identify which Python version node-gyp uses by setting the ‘–python’ variable:

$ node-gyp --python /path/to/python2.7

If node-gyp is called by way of npm and you have multiple versions of Python installed, then you can set npm‘s ‘python’ config key to the appropriate value:

$ npm config set python /path/to/executable/python2.7

setup node js on windows

1. Download the repo from gitHub

2. Run the vcbuild.bat file from the master.

U should have :