关于安装$https一直报错这回事
搜了好几个文章最后解决了
根据npm报错:request to https://registry.npm.taobao.org failed, reason certificate has expired-CSDN博客
先试的再install
npm config set registry https://registry.npm.taobao.org
报错 因为淘宝这个镜像失效了
npm ERR! request to https://registry.npm.taobao.org/@escook%2frequest-miniprogram failed, reason: certificate has expired
于是清空缓存
npm cache clean --force
再输入这个国内淘宝镜像
npm config set registry https://registry.npmmirror.com