found 1 high severity vulnerability run `npm audit fix` to fix them, or `npm audit` for detail

found 1 high severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for detail

解决方法:

npm audit
npm audit fix

 

 

 

详细过程:

 

在进行npm install joi时,出现这个。

 

 

控制台已经给出了建议:run `npm audit fix` to fix them, or `npm audit` for details。

 

我们可以运行npm audit查看细节

 

 

 然后再运行npm audit fix

 

 

 然后npm audit

 

 

然后可以了。

 

验证一下是否成功,npm install

 

 没有问题

 

posted @ 2020-11-04 15:03  ellenxx  阅读(2400)  评论(0编辑  收藏  举报