• home > webfront > ECMAS > npm-node >

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

    Author:zhoulujun@live.cn Date:

    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


    再来……

    成功!



    转载本站文章《npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher 》,
    请注明出处:https://www.zhoulujun.cn/html/webfront/ECMAScript/nodejs/7842.html