【发布时间】:2018-06-25 09:22:07
【问题描述】:
我想创建 Angular 项目并收到这些警告和错误
npm WARN deprecated istanbul-lib-hook@1.2.1: 1.2.0 should have been a major version bump
npm WARN deprecated nodemailer@2.7.2: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/
npm WARN deprecated socks@1.1.9: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm WARN deprecated mailcomposer@4.0.1: This project is unmaintained
npm WARN deprecated uws@9.14.0: stop using this version
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated buildmail@4.0.1: This project is unmaintained
npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm ERR! write after end
npm ERR! write after end
我尝试通过升级 npm 来修复这些错误,但在 npm 升级后,我遇到了同样的问题
【问题讨论】:
-
这表示您使用的某些模块已被“删除”
-
是的,但我不知道如何解决这个问题,我尝试手动将 istanbul-lib-hook 更新到最新版本,但总是出现警告
-
您使用什么“命令”来创建 Angular 项目?
-
我使用“ng new”来创建项目
标签: javascript angular npm