hexo-client
hexo-client copied to clipboard
【BUG】新增文章无法在软件中显示
文章保存成功,可以在文件夹下看到该文章,只是在软件页面无法看到该文章。
https://github.com/TrumanDu/blog-source/blob/master/source/_posts/Window%E4%B8%8BDocker-Desktop%E6%90%AD%E5%BB%BA-Kubernetes.md
internal/process/warning.js:18 (node:9288) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
app.febd12be.js:1 统计异常 Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1049)
at TLSSocket.emit (events.js:182)
at TLSSocket._finishInit (_tls_wrap.js:631)
app.febd12be.js:1 Check update fail Error: unable to verify the first certificate, GET https://api.github.com/repos/gaoyoubo/hexo-client/releases/latest -1 (connected: true, keepalive socket: false, socketHandledRequests: 1, socketHandledResponses: 0)
headers: {}
at TLSSocket.onConnectSecure (_tls_wrap.js:1049)
at TLSSocket.emit (events.js:182)
at TLSSocket._finishInit (_tls_wrap.js:631)
app.febd12be.js:1 Uncaught TypeError: Cannot read property 'toString' of undefined
at app.febd12be.js:1
at Be (chunk-vendors.0afdeac0.js:630)
at ClientRequest.rt (chunk-vendors.0afdeac0.js:630)
at ClientRequest.emit (events.js:182)
at TLSSocket.socketErrorListener (_http_client.js:391)
at TLSSocket.emit (events.js:182)
at emitErrorNT (internal/streams/destroy.js:82)
at emitErrorAndCloseNT (internal/streams/destroy.js:50)
at process._tickCallback (internal/process/next_tick.js:63)
2
app.febd12be.js:1 统计异常 Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1049)
at TLSSocket.emit (events.js:182)
at TLSSocket._finishInit (_tls_wrap.js:631)
app.febd12be.js:1 send event error Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1049)
at TLSSocket.emit (events.js:182)
at TLSSocket._finishInit (_tls_wrap.js:631)
app.febd12be.js:1 统计异常 Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1049)
at TLSSocket.emit (events.js:182)
at TLSSocket._finishInit (_tls_wrap.js:631)
应该不是这个异常造成的,这个就是往Google统计发送数据的时候出现了异常。
请问重启HexoClient之后能展示文章吗?
@gaoyoubo 看不到
这个问题确实很烦人,写的文章看不到
@TrumanDu @taoxiaojie
感谢各位大佬反馈,我找下问题所在。
@TrumanDu @taoxiaojie
感谢各位大佬反馈,我找下问题所在。
这个问题我也遇到了,我也以为是我单方面的问题,看到了这个Issue才知道不是
可能是缺少 db.json 導致 hexo api 無法獲取文章,在 blog 的資料夾下 hexo g 產生 db.json 後重啟試試