-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
🧐[问题 | question]大佬们好,我在使用umi ui创建页面时点击创建,webstorm就会报错,证书已过期。找过相关资料没有解决掉。 #11193
Comments
尝试过修改镜像源为其他的https://registry.npmjs.org/,但是一旦生成模板的那步,又报错说https://registry.npm.taobao.org/ 证书过期。难道我修改了镜像源,这个项目没有去访问吗? |
是的,淘宝镜像域名过期了 |
(我也遇到了同样的问题,朋友你找到解决方法了吗,附加,我还使用了npmmirror-quick[https://www.npmjs.com/package/npmmirror-quick],也没有用 |
请问解决了吗 |
试了下这样没用呢,搜了一些资料也没用 |
同样的情况,还没解决 |
兄弟们,我解决了,记住这个包 const registryMap = {
taobao: "https://registry.npmmirror.com/",
npm: "https://registry.npmjs.org"
}; 把
|
试下我提供的这个方案,看能解决不 |
解决了,非常感谢 |
大佬厉害啊,已成功解决 |
解决了哥们,我的神! |
卧槽,哥们你太帅了。 |
大佬太牛了,照着一步步来直接解决了 |
🧐 问题描述 | Problem description
使用umi ui创建模板的时候,一点击创建,webstorm就会断开报错
FetchError: request to https://registry.npm.taobao.org/ failed, reason: certificate has expired
💻 示例代码 | Sample code
C:\Users\LongTwo\Desktop\CodeSpace\星球项目\CodeOne\user-center-frontend\node_modules\node-fetch\lib\index.js:1501
reject(new FetchError(
request to ${request.url} failed, reason: ${err.message}
, 'system', err));^
FetchError: request to https://registry.npm.taobao.org/ failed, reason: certificate has expired
at ClientRequest. (C:\Users\LongTwo\Desktop\CodeSpace\星球项目\CodeOne\user-center-frontend\node_modules\node-fetch\lib\index.js:1501:11)
at ClientRequest.emit (node:events:513:28)
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
type: 'system',
errno: 'CERT_HAS_EXPIRED',
code: 'CERT_HAS_EXPIRED'
}
Done in 210.81s.
🚑 其他信息 | Other information
显示证书过期,csdn,和issue中没有找到类似的问题。
windows:10
Node:nvm 16.20.0
浏览器 | browser:edge
The text was updated successfully, but these errors were encountered: