ionic安装时遇到的minimatch错误

安装提示

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

 

大意是:  npm警告弃用minimatch@2.0.10:请更新minimatch 3.0.2或更高,以避免一个RegExp DoS的问题

 

首先执行的npm update -g minimatch@3.0.2,但是用命令查看版本npm -v minimatch发现版本并没有更新,后来在网上搜到的

npm install -g npm@3

发现这个命令可以.


附上原链接地址(国外网站):http://stackoverflow.com/questions/38046392/npm-warn-deprecated-minimatch2-0-10-please-update-to-minimatch-3-0-2-or-higher

posted @ 2016-08-23 15:00  SingleShadow  阅读(591)  评论(0编辑  收藏  举报