How to fix npm vulnerabilities manually?

后端 未结 4 670
臣服心动
臣服心动 2020-12-04 11:58

When I run npm install it says found 33 vulnerabilities (2 low, 31 moderate) run `npm audit fix` to fix them, or `npm audit` for details.

4条回答
  •  有刺的猬
    2020-12-04 12:36

    The most of the problem occurred in my system was due to npm package. I tried,

    npm un npm
    

    You don't have to install again.

    Just run program again. It worked for me.

提交回复
热议问题