vuejs/vue-cli

request to https://registry.npm.taobao.org/@vue%2fcli-plugin-pwa failed, reason: certificate has expired

disinor opened this issue ยท 8 comments

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.

heycn commented

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