atian25 / yuque-exporter

export yuque to local markdown
MIT License
321 stars 36 forks source link

导出还是会报错 看了相关issue并没有解决方案 我不懂前端... #14

Closed lblbk closed 1 year ago

lblbk commented 1 year ago

导出最后还是会报错,不过文档好像都保存下来了,作者大大可以看下需不需要修复

环境


osx 12.3.1
$ node -v
v16.17.0

$ npm -v
8.15.0

报错

node:internal/process/esm_loader:97
    internalBinding('errors').triggerUncaughtException(
                              ^

Error: connect ECONNREFUSED 0.0.0.0:443
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1247:16) {
  errno: -61,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '0.0.0.0',
  port: 443
}

上面好像是网络问题 打开代理还是会报错

node:internal/process/esm_loader:97
    internalBinding('errors').triggerUncaughtException(
                              ^

Error: getaddrinfo ENOTFOUND www.xknote.com
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) {
  errno: -3008,
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'www.xknote.com'
}

刚才对于导出的文档大致看了一下,导出报错的都是包含图片

麻烦了