Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Issue installing npm on my Win7 Machine

Issue installing npm on my Win7 Machine

Problem

I am trying to install the WEINRE on my win7 machine as per the instruction given in this link http://forums.adobe.com/docs/DOC-2623

Note: I might be behind a firewall.

  1. I installed node.js and
  2. then I tried to install weinre via npm. This fails with the following error

Please help me in installing weinre so that i can go on.

Thanks in advance for any help.

Problem courtesy of: Mohamed Hussain

Solution

There are several things you can do to find out the problem:

  1. do an nslookup of registry.npmjs.org to find out if the address can be resolved
  2. check your network settings to find out if there is a proxy configured If so, configure npm to use the proxy. This is how you can do this:

    npm config set proxy http://proxy.company.com:8080
    npm config set https-proxy http://proxy.company.com:8080

Credits go to https://stackoverflow.com/a/12832637/52568.

Solution courtesy of: Kurt Pattyn

Discussion

View additional discussion.



This post first appeared on Node.js Recipes, please read the originial post: here

Share the post

Issue installing npm on my Win7 Machine

×

Subscribe to Node.js Recipes

Get updates delivered right to your inbox!

Thank you for your subscription

×