npm 在安装时候报错 npm ERR! request to https://registry.npmjs.org/express failed, reason: unable to verify

原因是https的自签名失败

临时解决办法:关闭ssl

npm config set strict-ssl false

你可能感兴趣的:(Nodejs,npm包)