request to https://registry.npm.taobao.org/@vue%2fcli-plugin-pwa failed, reason: certificate has expired
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
the problem was with the nvm package
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.
You can try:
1. npm cache clean --force
2. npm config set strict-ssl false
then install your want.
it does work after using your commands
I got the same issue and tried everything above except disabling strict-ssl which should not be recommend imo. I also tried deleting node_modules and package-lock.json but this does not change anything.
I don't know what to do...
Please try the commands as follow : npm cache clean --force # this command is used to clean the cache npm config set registry https://registry.npm.taobao.org/ #this command is used to set a new mirror,after that it will do work. @brospars
Please try the commands as follow : npm cache clean --force # this command is used to clean the cache npm config set registry https://registry.npm.taobao.org/ #this command is used to set a new mirror,after that it will do work. @brospars
Please do not use https://registry.npm.taobao.org/, as this is an old domain and its SSL certificate has expired. Please use the new domain https://registry.npmmirror.com/ instead.
I dont' want to use any mirror but npm install is still using it for some reason...