Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何修复 webpack-pwa-manifest@4.2.0 和 minimist 漏洞。我尝试删除 node/modules 和 package-lock.json 并重新安装 npm 但我有同样的问题,非常感谢任何反馈。附上截图。
实际上,问题出在minimist(webpack-pwa-manifest子模块)上,并且出在版本上0.0.8。您可以使用 package.json 上的分辨率安装此模块的最新版本,直到webpack-pwa-manifest更新此模块...
minimist
webpack-pwa-manifest
0.0.8
要添加此分辨率,您只需在 package.json 中添加它:
"resolutions": { "minimist": ">=1.2.3" }
并运行:
npx npm-force-resolutions && npm install