为了账号安全,请及时绑定邮箱和手机立即绑定

npm安装gulp失败

npm安装gulp失败

FFIVE 2018-10-11 14:11:26
我的gulp安装失败,使用cnpm也是失败,怎么回事呀?npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issuenpm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issuenpm 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.C:UsersmyhomeAppDataRoamingnpmgulp -> C:UsersmyhomeAppDataRoamingnpmnode_modulesgulpbingulp.jsC:UsersmyhomeAppDataRoamingnpm`-- gulp@3.9.1
查看完整描述

1 回答

?
守着一只汪

TA贡献1872条经验 获得超3个赞

可参见这里: npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

你可以操作像这样:
法一: npm install -g npm
法二: npm install -g minimatch@3.0.2


查看完整回答
反对 回复 2018-11-18
  • 1 回答
  • 0 关注
  • 1235 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信