无法安装react-router-dom

问题描述 投票:0回答:1

为什么

react-router-dom
没有安装在我的 vs-code 中以及如何修复它。

它显示了 6 个高漏洞,我也运行了

npm audit fix --force
npm audit
但什么也没发生。 如何消除这些漏洞?

node.js npm npm-install
1个回答
-1
投票

刚刚尝试过,react-router-dom 已安装,并且正如我所见,也适用于您。

尝试通过执行以下步骤修复漏洞:

npm outdated // run to check outdated npm packages

npx npm-check-updates -u // run to check updates outdated npm packages

npm install // run to update npm packages

来源:https://stackoverflow.com/a/70920497/12772716

© www.soinside.com 2019 - 2024. All rights reserved.