ionic-framework - npm WARN 已弃用 minimatch@2.0.10 : Please update to minimatch 3. 0.2

标签 ionic-framework npm

$ 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)

最佳答案

npm install -g minimatch@3.0.2

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

关于ionic-framework - npm WARN 已弃用 minimatch@2.0.10 : Please update to minimatch 3. 0.2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38188466/

相关文章:

javascript - Dom 绑定(bind)未在 ionic 内容滚动事件上更新

maven - 将 lib maven 导入 npm package.json

node.js - Node - 使用 NODE_MODULE_VERSION 51 针对不同的 Node.js 版本进行编译

node.js - 从单个存储库发布多个包

npm - 升级npm @> = 4的npm`prepublish`脚本的最佳实践

javascript - 无法导入同位素插件-- -"$(container).isotope is not a function"

javascript - 使用 Ionic 制作签名绘图板

javascript - ionic 将输入保存为变量

javascript - 如何从 cordova 插件将对象注入(inject) ionic Controller ?

javascript - 动态添加到 typescript 中的每一行