NPM在“上抛出错误”;“审计修复程序”不支持配置的注册表

NPM在“上抛出错误”;“审计修复程序”不支持配置的注册表,npm,npm-audit,npm-config,Npm,Npm Audit,Npm Config,从昨晚开始,我发现以下错误: 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

从昨晚开始,我发现以下错误:

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
我最近没有做任何改变。建议在config.yaml文件中进行更改。我的文件夹中没有看到任何config.yaml文件。我也不使用verdaccio。我不知道如何解决这个问题。有什么想法吗

更新: npm审核显示以下内容:

                   === npm audit security report ===                        
┌───────────────────────────────────────────────────────────────────────── │ 人工审核│ │ 某些漏洞需要您注意解决
│ 请访问以获取更多指导│ └───────────────────────────────────────────────────────────────────────── ┌───────────────┬───────────────────────────────────────────────────────── │ 批评的│ 恶意软件包│ ├───────────────┼───────────────────────────────────────────────────────── │ 包裹│ 平面图流│ ├───────────────┼───────────────────────────────────────────────────────── │ 补上│ 没有可用的修补程序│ ├───────────────┼───────────────────────────────────────────────────────── │ 依赖│ nodemon[dev]│ ├───────────────┼───────────────────────────────────────────────────────── │ 路径│ nodemon>pstree.remy>ps树>事件流>│ │ │ 平面图流│ ├───────────────┼─────────────────────────────────────────────────────────
│ 更多信息│ │

基于“更多信息”链接,建议您使用事件-stream@3.3.4

为此:

1、删除flatmap流的节点\模块文件夹

2、编辑package-lock.json文件,我想在ps_树对象下添加/编辑依赖项,如下所示:

"requires": {
    "event-stream": "~3.3.0"
},
"dependencies": {
    "event-stream": {
        "version": "3.3.4"
    }
}

再次运行npm安装,这将修复它

基于更多信息链接,建议您使用事件-stream@3.3.4

为此:

1、删除flatmap流的节点\模块文件夹

2、编辑package-lock.json文件,我想在ps_树对象下添加/编辑依赖项,如下所示:

"requires": {
    "event-stream": "~3.3.0"
},
"dependencies": {
    "event-stream": {
        "version": "3.3.4"
    }
}

再次运行npm安装,这将修复它

什么是
npm audit
show您使用哪个npm版本?什么是
npm audit
show您使用哪个npm版本?