从昨晚开始,我收到以下错误:
npm ERR! code ENOAUDIT
npm ERR! audit Your configured registry (https://registry.npmjs.org/) does not support audit requests.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ransinha/.npm/_logs/2018-11-28T18_19_35_432Z-debug.log
我最近没有进行任何更改。https://github.com/verdaccio/verdaccio/issues/689建议更改 config.yaml 文件。我的文件夹中没有看到任何 config.yaml 文件。我也没有使用 verdaccio。不知道如何解决这个问题。有任何想法吗?
更新:npm 审计显示以下内容:
=== npm audit security report ===
┌────────────────────────────────────────────────── ──────────────────────── │ 人工审核 │ │ 一些漏洞需要您注意解决
│ 访问https://go.npm.me/audit-指导如需额外指导│ └──────────────────────────────────────────── ──────────────────────────── ┌────────────────┬───── ────────────────────────────────────────────────── ── │ 严重 │ 恶意包 │ ├────────────────┼──────────────────────── ────────────────────────────── │ 软件包│ flatmap-stream │ ├────────── ──────┼──────────────────────────────────────────── ────────────── │ 已打补丁 │ 无可用补丁 │ ├────────────────┼──────────── ──────────────────────────────────────────── │ nodemon的依赖关系[开发] │ ├───────────────┼──────────────────────────── ──────────────────────────── │ 路径│ nodemon > pstree.remy >ps-tree > event-stream > │ │ │ flatmap-stream │ ├────────────────┼────────────────── ────────────────────────────────────── │ 更多信息 │https://nodesecurity.io/advisories/737 │</p>