首页 > webfront > ECMAS > nodejs > > 正文

npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher

发布人:zhoulujun@live.cn    点击:

mac下面搭建nodejs ,尼玛,环境就搞死我了……比如………安装淘宝nodejs cnpm镜像…sh-3 2 npm install -g cnpm --registry=https

mac下面搭建nodejs ,尼玛,环境就搞死我了……

比如………安装淘宝nodejs cnpm镜像…


sh-3.2# npm install -g cnpm --registry=https://registry.npm.taobao.org

normalizeTree → install   ▌ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟

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

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

/usr/local/bin/cnpm -> /usr/local/lib/node_modules/cnpm/bin/cnpm

/usr/local/bin/cnpm-check -> /usr/local/lib/node_modules/cnpm/bin/cnpm-check

/usr/local/bin/cnpm-sync -> /usr/local/lib/node_modules/cnpm/bin/cnpm-sync

/usr/local/bin/cnpm-web -> /usr/local/lib/node_modules/cnpm/bin/cnpm-web

/usr/local/bin/cnpm-user -> /usr/local/lib/node_modules/cnpm/bin/cnpm-user

/usr/local/bin/cnpm-doc -> /usr/local/lib/node_modules/cnpm/bin/cnpm-doc

/usr/local/bin/cnpm-search -> /usr/local/lib/node_modules/cnpm/bin/cnpm-search


尼玛,老子重新安装,行了把

npm WARN enoent ENOENT: no such file or directory, open '/Users/SF/package.json'

npm WARN SF No description

npm WARN SF No repository field.

npm WARN SF No README data

npm WARN SF No license field.

mianguan:~ SF$ cd /Users/SF/

 奈何啊……

只有:

 npm install -g minimatch


再来……

成功!