npm install is too slow in China recently.

I just test with ping, it show out 42.4% packet loss. 

```

$ ping registry.npmjs.org

PING a.sni.fastly.net (103.245.222.162): 56 data bytes

64 bytes from 103.245.222.162: icmp_seq=0 ttl=49 time=224.959 ms

64 bytes from 103.245.222.162: icmp_seq=1 ttl=48 time=233.980 ms

64 bytes from 103.245.222.162: icmp_seq=2 ttl=48 time=132.136 ms

64 bytes from 103.245.222.162: icmp_seq=3 ttl=48 time=133.913 ms

64 bytes from 103.245.222.162: icmp_seq=4 ttl=48 time=130.510 ms

Request timeout for icmp_seq 5

Request timeout for icmp_seq 6

64 bytes from 103.245.222.162: icmp_seq=7 ttl=48 time=320.584 ms

64 bytes from 103.245.222.162: icmp_seq=8 ttl=48 time=134.277 ms

64 bytes from 103.245.222.162: icmp_seq=9 ttl=48 time=130.721 ms

64 bytes from 103.245.222.162: icmp_seq=10 ttl=48 time=129.882 ms

64 bytes from 103.245.222.162: icmp_seq=11 ttl=49 time=227.315 ms

Request timeout for icmp_seq 12

64 bytes from 103.245.222.162: icmp_seq=13 ttl=49 time=233.310 ms

64 bytes from 103.245.222.162: icmp_seq=14 ttl=49 time=231.015 ms

Request timeout for icmp_seq 15

Request timeout for icmp_seq 16

64 bytes from 103.245.222.162: icmp_seq=17 ttl=48 time=131.651 ms

Request timeout for icmp_seq 18

Request timeout for icmp_seq 19

Request timeout for icmp_seq 20

64 bytes from 103.245.222.162: icmp_seq=21 ttl=49 time=232.487 ms

64 bytes from 103.245.222.162: icmp_seq=22 ttl=48 time=130.555 ms

Request timeout for icmp_seq 23

64 bytes from 103.245.222.162: icmp_seq=24 ttl=48 time=226.619 ms

Request timeout for icmp_seq 25

Request timeout for icmp_seq 26

64 bytes from 103.245.222.162: icmp_seq=27 ttl=48 time=228.384 ms

Request timeout for icmp_seq 28

Request timeout for icmp_seq 29

64 bytes from 103.245.222.162: icmp_seq=30 ttl=48 time=134.050 ms

Request timeout for icmp_seq 31

64 bytes from 103.245.222.162: icmp_seq=32 ttl=48 time=233.510 ms

^C

--- a.sni.fastly.net ping statistics ---

33 packets transmitted, 19 packets received, 42.4% packet loss

round-trip min/avg/max/stddev = 129.882/188.414/320.584/57.105 ms
```

PS: you can just use China npm mirror: http://cnpmjs.org

```
$ npm install connect --registry=http://r.cnpmjs.org
```

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to