错误:npm WARN已弃用minimatch@2.0.10:请更新到minimatch 3.0.2或更高版本,以避免RegExp DoS问题 [英] Error: npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

查看:10208
本文介绍了错误:npm WARN已弃用minimatch@2.0.10:请更新到minimatch 3.0.2或更高版本,以避免RegExp DoS问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在离子cordova的安装过程中遇到这个问题:

I have this problem during installation of ionic cordova:

npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

请任何人帮助

推荐答案

您需要更新您的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

这篇关于错误:npm WARN已弃用minimatch@2.0.10:请更新到minimatch 3.0.2或更高版本,以避免RegExp DoS问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆