1.查看pnpm的配置是不是electron的镜像有问题 在Windows,修改C:\Users<用户名>.npmrc文件里面的镜像路径https://npmmirror.com/mirrors/electron/ 然后保存,就解决了。 参考资料:https://www.electronjs.org/zh/docs/latest/tutorial/installation#镜像
requesterror: certificate has expired 错误时,这通常表示你在尝试访问的 HTTPS 服务器的 SSL/TLS 证书已经过期。针对这个问题,以下是一些可能的解决方案: 1. 确认系统时间和日期设置是否正确 错误的系统时间可能会导致 SSL/TLS 证书验证失败,因为证书有一个有效的时间范围。请确保你的系统时间设置为当前正确的日期...
error D:\xx\my-electron-app\node_modules\electron: Command failed. Exit code: 1 Command: node install.js Arguments: Directory: \node_modules\electron Output: RequestError: certificate has expired at ClientRequest.<anonymous> (node_modules\got\dist\source\core\index.js:970:111) at Object.once...
报错代码: Error: certificate has expired at TLSSocket.<anonymous> (_tls_wrap.js:1103:38) at emitNone (events.js:106:13) at TLSSocket.emit (events.js:208:7) at TLSSocket._finishInit (_tls_wrap.js:637:8) at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:467:38) 解决方法: 1、由于CA证...
RequestError: Error: certificate has expired at new RequestError (/usr/local/lib/node_modules/truffle/build/webpack:/node_modules/request-promise-core/lib/errors.js:14:1) at Request.plumbing.callback (/usr/local/lib/node_modules/truffle/build/webpack:/node_modules/request-promise-core/lib/plu...
code: 'CERT_HAS_EXPIRED', name: 'ResponseError', data: undefined, path: '/driver.js', status: -1, headers: {}, res: [Object] }, status: -1, headers: {}, stack: Error: certificate has expired at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34) ...
问题描述 遇到npm使用淘宝镜像安装时出现错误,错误信息为:npm ERR! code CERT_HAS_EXPIRED,npm ERR! errno CERT_HAS_EXPIRED,npm ERR! request to registry.npm.taobao.org... failed, reason: certificate has expired。这表明淘宝镜像的HTTPS证书已经过期。错误原因 淘宝镜像自2021年已切换至...
npm报错“request to https://registry.npm.taobao.org/three failed, reason: certificate has expired”的解决方法如下:清空npm缓存:由于证书过期可能导致缓存中的信息无效,因此首先需要清空npm的缓存。检查当前的npm镜像设置:使用命令npm config get registry来查看当前设置的npm镜像源,确认是否仍为...
如果出现request to xxx failed, reason: certificate has expired可能是因为淘宝镜像的版本是老的版本,没有访问权限,可以使用以下的命令更新为最新版本 npm config set registry https://registry.npmmirror
Here are some full logs: {"message": "API request failed when trying to get current project because: Error: certificate has expired","stack": ["Error: API request failed when trying to get current project because: Error: certificate has expired","\tat Object.fetchCurrentProject (d:\\Users...