npm WARN弃用minimatch@2.0.10:请更新到minimatch 3.0.2

Muh*_*red 3 npm ionic-framework

$ npm update minimatch@3.0.2

$ npm update -d
npm info it worked if it ends with ok
npm info using npm@2.11.3
npm info using node@v0.12.7
npm info attempt registry request try #1 at 5:33:55 PM
npm http request GET https://registry.npmjs.org/jshint
npm http 200 https://registry.npmjs.org/jshint
npm info ok


$ npm install jshint
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher                                                                                                                 to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher                                                                                                                 to avoid a RegExp DoS issue
jshint@2.9.2 node_modules\jshint
??? strip-json-comments@1.0.4
??? exit@0.1.2
??? shelljs@0.3.0
??? console-browserify@1.1.0 (date-now@0.1.4)
??? lodash@3.7.0
??? minimatch@2.0.10 (brace-expansion@1.1.5)
??? htmlparser2@3.8.3 (domelementtype@1.3.0, entities@1.0.0, domhandler@2.3.0, d                                                                                                                omutils@1.5.1, readable-stream@1.1.14)
??? cli@0.6.6 (glob@3.2.11)
Run Code Online (Sandbox Code Playgroud)

Dee*_*ain 5

npm install -g minimatch@3.0.2

试试这个....应该工作