简体   繁体   English

我试图在我的 react 项目中安装一些包,但我得到了这个“发现 1 个低严重性漏洞”,

[英]i was trying to install some packages to my react project i got this “ found 1 low severity vulnerability” ,

and here is my terminal which describes my error clearly这是我的终端,它清楚地描述了我的错误

i was trying to install some packages to my react project, and I got this " found 1 low severity vulnerability", so I did run npm audit and I found the problem in react-scripts dependencies, so I ran npm install react-scripts --save, but that didn't solve the problem and still have the same error " found 1 low severity vulnerability"我试图在我的 react 项目中安装一些软件包,我得到了这个“发现 1 个低严重性漏洞”,所以我确实运行npm audit ,我在 react-scripts 依赖项中发现了问题,所以我运行了 npm install react-scripts - -save,但这并没有解决问题,仍然有同样的错误“发现 1 个低严重性漏洞”

Try npm audit fix , that should fix the issue.尝试npm audit fix ,应该可以解决问题。 If that doesn't work, delete your yarn.lock or package-lock.json file then try again.如果这不起作用,请删除您的yarn.lockpackage-lock.json文件,然后重试。

You could also try npm update .您也可以尝试npm update

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 发现 1 个低严重性漏洞错误,同时创建新的反应项目 - Found 1 low severity vulnerability Error, while creating new react project 在创建新的 reactjs 应用程序期间,在 1620 个扫描包中发现 1 个低严重性漏洞 - Found 1 low severity vulnerability in 1620 scanned packages during cretating new reactjs app 在显示“发现 1 个低严重性漏洞运行 `npm audit fix` 来修复它们,或 `npm audit` 以获取详细信息”后反应应用程序创建将停止 - react app creation going to stop after showing "found 1 low severity vulnerability run `npm audit fix` to fix them, or `npm audit` for details" 我无法安装我的项目套件 - I am unable to install my project packages 当我尝试使用npm我安装我的项目包时出现错误 - I get an error when I try to install my project packages with npm i 我在尝试安装我的 React 应用程序时遇到了另一个错误 - I encountered another error trying to install my react app 我在尝试使用 npm 安装为我的克隆项目下载包时遇到错误 - i am having error trying to use npm install to download a packages for my cloned projects 我是否需要安装一些软件包才能在Debian上运行javascript - Do i need to install some packages to run javascript on debian 试图清除我的 react-final-form 字段,但我得到了空的 object 值 - Trying to clear my react-final-form fields but I got empty object values instead 我在 React 上尝试在我的待办事项列表上呈现过滤器功能时收到“未捕获的类型错误:未定义不是函数” - I got an "Uncaught TypeError: undefined is not a function" while trying to render the filter functionality on my todo list on React
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM