how to install npm if couldn't resolve npmjs.org
Posted
by
Rahul Mehta
on Server Fault
See other posts from Server Fault
or by Rahul Mehta
Published on 2011-10-04T15:52:43Z
Indexed on
2013/11/10
9:59 UTC
Read the original article
Hit count: 373
when m doing curl it says could not resolve host what can i do ?
curl http://npmjs.org/install.sh | sudo sh
curl: (6) Couldn't resolve host 'npmjs.org'
/etc/resolv.conf
search x1
nameserver x2
nameserver 8.8.8.8
nameserver 8.8.4.4
nslookup result
nslookup google.com
Server: x1
Address: x1#53
Non-authoritative answer:
*** Can't find google.com: No answer
Non-authoritative answer: * Can't find google.com: No answer
© Server Fault or respective owner