nodejs发送电子邮件问题

zippple zippple 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
小弟刚学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


...全文
评论
收藏 已收藏
分享
返回顶部
zippple
高性能WEB开发 25,979 成员 4,366 内容