如何修复 Postcss 和 glob-parent npm 安装错误?

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

输入 npm 基金时出现错误

这不是我的项目,所以我不太明白如何修复它,我的nodejs版本21.1

glob-parent  <5.1.2
Severity: high
glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex - https://github.com/advisories/GHSA-ww39-953v-wcq6
fix available via `npm audit fix`
node_modules/watchpack-chokidar2/node_modules/glob-parent
  chokidar  1.0.0-rc1 - 2.1.8
  Depends on vulnerable versions of glob-parent
  node_modules/watchpack-chokidar2/node_modules/chokidar
    watchpack-chokidar2  *
    Depends on vulnerable versions of chokidar
    node_modules/watchpack-chokidar2
      watchpack  1.7.2 - 1.7.5
      Depends on vulnerable versions of watchpack-chokidar2
      node_modules/watchpack

postcss  <8.4.31
Severity: moderate
PostCSS line return parsing error - https://github.com/advisories/GHSA-7fh5-64p2-3v2j
No fix available
node_modules/css-mqpacker/node_modules/postcss
  css-mqpacker  *
  Depends on vulnerable versions of postcss
  node_modules/css-mqpacker

npm 审计修复和 npm 审计修复 - 如果它们没有帮助

node.js postcss
1个回答
0
投票

你有没有以某种方式解决这个问题? 同样的错误,但找不到解决方案

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