request to https://registry.npm.taobao.org/@vue%2fcli-plugin-pwa failed, reason: certificate has expired
disinor opened this issue ยท 8 comments
disinor commented
Version
4.5.19
Environment info
version vue-cli 4.5.14
Steps to reproduce
I'm trying to install the @vue/cli-plugin-pwa package
after which it throws an error
What is expected?
package installation
What is actually happening?
certificate error is displayed
disinor commented
the problem was with the nvm package
wjw020206 commented
You can use the following command to configure new mirrors.
npm config set registry https://registry.npmmirror.com
This is Taobao's new mirror address.
heycn commented
You can try:
1. npm cache clean --force
2. npm config set strict-ssl false
then install your want.
zhangxu36925800 commented
it does work after using your commands