Proxy with Nodejs on Windows

Started trying few things with nodejs. Nodejs is the best thing that could happen to a web programmer since one needs to learn only javascript to deal with database, server, client(if web). I ran into the proxy issue since my computer is behind a proxy wall.

Solution is

create a entry in environment variables

HTTP_PROXY=http://proxyurl:port

then switch off ssl with this command prompt

npm config set strict-ssl false

 

Hope this helps šŸ™‚

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s