Certificate expired
已完成While trying to install the Cloud-API-Demo-Web project I'm running into this problem with npm install:
ubuntu@ca:~/Cloud-API-Demo-Web$ npm install
npm ERR! code CERT_HAS_EXPIRED
npm ERR! errno CERT_HAS_EXPIRED
npm ERR! request to https://registry.npm.taobao.org/yallist/download/yallist-4.0.0.tgz failed, reason: certificate has expired
npm ERR! A complete log of this run can be found in: /home/ubuntu/.npm/_logs/2024-02-09T16_42_34_943Z-debug-0.log
And indeed, opening https://registry.npm.taobao.org/ shows an expired certificate (Jan 22)
You might have better contacts to this provider to make them fix the certificate issue.
I could work around by
npm set strict-ssl false
but this can't be really the solution.
-
We've already passed along this issue to our dedicated development team. In the meantime, you can try resolving it with these friendly steps: 1. Deploy the Demo by using a source code compilation build method, where you manually replace all outdated image sources within the front-end project directory. 2. Alternatively, modify the npm mirror source through a global replacement method. registry=https://registry.npmmirror.com/
请先登录再写评论。
评论
8 条评论