vuejs / vue-cli

🛠️ webpack-based tooling for Vue.js Development
https://cli.vuejs.org/
MIT License
29.75k stars 6.32k forks source link

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

Open disinor opened 3 months ago

disinor commented 3 months ago

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 3 months ago

the problem was with the nvm package

wjw020206 commented 2 months ago

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 4 days ago

You can try:

1. npm cache clean --force
2. npm config set strict-ssl false

then install your want.