Reactjs “我做不到”;npm安装“;对我的项目作出反应。“当我跑步时”;npm安装“;我得到错误信息
运行“npm安装”时,我收到以下错误消息:Reactjs “我做不到”;npm安装“;对我的项目作出反应。“当我跑步时”;npm安装“;我得到错误信息,reactjs,visual-studio-code,Reactjs,Visual Studio Code,运行“npm安装”时,我收到以下错误消息: found 15369 vulnerabilities (15366 low, 3 high) run `npm audit fix` to fix them, or `npm audit` for details found 15369 vulnerabilities (15366 low, 3 high) in 2153 scanned packages run `npm audit fix` to fix 15366 of them.
found 15369 vulnerabilities (15366 low, 3 high)
run `npm audit fix` to fix them, or `npm audit` for details
found 15369 vulnerabilities (15366 low, 3 high) in 2153 scanned packages
run `npm audit fix` to fix 15366 of them.
3 vulnerabilities require manual review. See the full report for details.
fixed 15366 of 15369 vulnerabilities in 2153 scanned packages
3 vulnerabilities required manual review and could not be updated
我尝试运行“npm审核”,但收到以下错误消息:
found 15369 vulnerabilities (15366 low, 3 high)
run `npm audit fix` to fix them, or `npm audit` for details
found 15369 vulnerabilities (15366 low, 3 high) in 2153 scanned packages
run `npm audit fix` to fix 15366 of them.
3 vulnerabilities require manual review. See the full report for details.
fixed 15366 of 15369 vulnerabilities in 2153 scanned packages
3 vulnerabilities required manual review and could not be updated
我试着运行“npm审计修复--强制”
我得到这个错误信息:
found 15369 vulnerabilities (15366 low, 3 high)
run `npm audit fix` to fix them, or `npm audit` for details
found 15369 vulnerabilities (15366 low, 3 high) in 2153 scanned packages
run `npm audit fix` to fix 15366 of them.
3 vulnerabilities require manual review. See the full report for details.
fixed 15366 of 15369 vulnerabilities in 2153 scanned packages
3 vulnerabilities required manual review and could not be updated
我试图删除我的package-lock.json并删除node_modules文件夹,
我再次尝试安装npm。
我设置了这个警告:
found 1 high severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
也许您会知道问题出在哪里?这不是错误。这是一条警告信息。不应影响您的项目运行大多数案例。尝试执行以下操作
npm update
它可能会解决这个问题,
试着参考官方文件。
此外,成功运行项目也不会有问题。可能您的internet连接或internet数据过滤有问题?这是一条警告消息。别担心
npm start
您的项目将从
localhost
开始。您好,我也遇到过类似的问题,这对我很有效
- 删除本地repo中的任何类型的锁文件
package lock.json
- 删除本地节点\u模块文件夹
- 删除全局节点模块文件夹,可在
中找到%USERPROFILE%\Application Data\npm\node\u modules
npm i
如果解决方案不适用于npm,请使用Thread并至少暂时安装软件包。检查package.json和package-lock.json中的软件包依赖项。有时,这可能取决于同一节点包的不同版本。您可以先尝试npm更新,以便尽可能多地自动更新。如果这不起作用,请查找冲突的版本。我在internet连接或internet数据过滤方面没有问题。错误消息在命令行中以红色显示。在你的案例中是红色的吗?你不能用“npm启动”运行项目吗?是的,我的错误消息在命令行中是红色的,我没有成功地执行“npm启动”。在我阅读本文之前,这个问题已经被问过了,但它对我没有帮助。很好,这对我有帮助。