且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

错误:npm WARN已弃用minimatch@2.0.10:请更新到minimatch 3.0.2或更高版本,以避免RegExp DoS问题

更新时间:2022-03-22 20:39:48

您需要更新您的minimatch版本
遵循以下步骤:

You need to update your minimatch version Follow these steps:

命令更新minimatch

Run this command to update minimatch

$ npm update minimatch

运行此命令以检查最小匹配版本

Run this command to check minimatch version

$ npm -v minimatch

如果版本还旧,请运行此命令

If the version is still old one Run this command

$ npm install -g npm@3

检查您的版本

$ npm -v minimatch