Skip to content

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

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

Open
disinor opened this issue Jun 14, 2024 · 8 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.

@zhangxu36925800
Copy link

it does work after using your commands

@brospars
Copy link

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...

@zhangxu36925800
Copy link

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

@wjw020206
Copy link

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.

Image

@brospars
Copy link

I dont' want to use any mirror but npm install is still using it for some reason...

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

5 participants