nodejs发送电子邮件问题
小弟刚学nodejs 想做个发送电子邮件。
看网上教程上写的都是要先安装第三方插件
用 npm install nodemailer 命令安装。
每次安装都会出错,有没有谁能帮小弟解决。
16 verbose lock nodemailer@ C:\Documents and Settings\tyousihou\Application Data\npm-cache\a9602281-nodemailer.lock
17 silly addNameRange { name: 'nodemailer', range: '', hasData: false }
18 verbose url raw nodemailer
19 verbose url resolving [ 'http://npmfjs.org:9000/', './nodemailer' ]
20 verbose url resolved http://npmfjs.org:9000/nodemailer
21 info retry registry request attempt 1 at 18:33:54
22 http GET http://npmfjs.org:9000/nodemailer
23 info retry will retry, error on last attempt: Error: connect ETIMEDOUT
24 info retry registry request attempt 2 at 18:34:25
25 http GET http://npmfjs.org:9000/nodemailer
26 info retry will retry, error on last attempt: Error: connect ETIMEDOUT
27 info retry registry request attempt 3 at 18:35:46
28 http GET http://npmfjs.org:9000/nodemailer
29 silly lockFile a9602281-nodemailer nodemailer@
30 error Error: connect ETIMEDOUT
30 error at errnoException (net.js:768:11)
30 error at Object.afterConnect [as oncomplete] (net.js:759:19)
31 error If you need help, you may report this log at:
31 error <http://github.com/isaacs/npm/issues>
31 error or email it to:
31 error <npm-@googlegroups.com>
32 error System Windows_NT 5.1.2600