npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE npm ERR! errno UNABLE_TO_VERIFY_LEAF_SIGNATURE npm ERR! request to https://registry.npm.taobao.org/cnpm failed, reason: unable to verify the first certificate npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-08-02T11_01_27_492Z-debug.log
解决方法:
npm config set strict-ssl false
再安装
npm install -g cnpm --registry=https://registry.npm.taobao.org
标签:npm,CNPM,ERR,失败,registry,https,SIGNATURE,安装,cnpm From: https://www.cnblogs.com/zhangzhijian/p/16867405.html