[英]npm install react-router-dom.... isn't working and i am getting the following msg
My command prompt wasn't able to install react-router-dom due to 3 moderate severity vulnerabilities run
npm audit fix
to fix them, or npm audit
for details vulnerabilities that were found, and npm audit fix is not fixing anything.由于 3 个中等严重性漏洞,我的命令提示符无法安装 react-router-dom 运行
npm audit fix
来修复它们,或者npm audit
以获取发现的详细漏洞,并且 npm audit fix 没有修复任何内容。 It says that all 3 vulnerabilities should be reviewed manually, how can this be fixed?它说应该手动审查所有 3 个漏洞,如何修复? Many thanks in advance.
提前谢谢了。
It looks like react-router-dom version 5.2.0 was installed, is the problem that it isn't working properly?貌似安装了react-router-dom 5.2.0版本,是不是不能正常工作的问题?
Try:尝试:
If that doesnt do the trick, could you provide more context like whats in the package.json?如果这不起作用,您能否提供更多上下文,例如 package.json 中的内容?
我遇到了同样的错误,用纱线代码解决了问题,试试这个命令..
yarn add react-router-dom
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.