安装 gulp 出现错误: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

2017-02-05 06:41:35 +08:00
 kmdd33

错误全文:

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.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. npm WARN saveError ENOENT: no such file or directory, open '/Users/sulayman/package.json'

请问怎么办: 安装指南: http://www.gulpjs.com.cn/docs/getting-started/ 我执行了这个命令出现的结果: npm install --save-dev gulp

敲入: npm -v 显示: 3.10.10

敲入: gulp -v 显示: CLI version 3.9.1 [06:49:09] Local version 3.9.1

敲入: npm update 没有反应

敲入: npm ls 显示过期包的路径信息,就不在这贴图片了 怎么搞啊?各位大牛们

2190 次点击
所在节点    问与答
3 条回复
learnshare
2017-02-05 07:13:06 +08:00
WARN 没关系
lwjcjmx123
2017-02-05 07:47:28 +08:00
你这个没关系啊,已经安装成功了
Phariel
2017-02-05 08:37:22 +08:00
warning 忽略 等 package owner 修 dependency

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/338161

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX