HalseySpicy / Hooks-Admin

🚀🚀🚀 Hooks Admin,基于 React18、React-Router V6、React-Hooks、Redux、TypeScript、Vite2、Ant-Design 开源的一套后台管理框架。
https://pro.spicyboy.cn
MIT License
1.65k stars 373 forks source link

登录报错 #45

Closed lihong1232 closed 4 days ago

lihong1232 commented 7 months ago

3:38:54 PM [vite] http proxy error: 15:38:54
Error: self signed certificate in certificate chain at TLSSocket.onConnectSecure (node:_tls_wrap:1532:34) at TLSSocket.emit (node:events:527:28) at TLSSocket._finishInit (node:_tls_wrap:946:8) at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:727:12)

为什么我登录会报这个错误?我把npm config set strict-ssl false这样设置了也不可以,求解。

lihong1232 commented 7 months ago

/src/mock/ 看了一下我没有这个目录哎,这是为什么 , 我是clone的代码