Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
disinor opened this issue Jun 14, 2024 · 3 comments

Comments

@disinor
Copy link

disinor commented Jun 14, 2024

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
Copy link
Author

disinor commented Jun 14, 2024

the problem was with the nvm package

@wjw020206
Copy link

wjw020206 commented Jul 12, 2024

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
Copy link

heycn commented Sep 30, 2024

You can try:

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

then install your want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants