安装CNPM失败

在这里插入图片描述

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

你可能感兴趣的:(安装CNPM失败)