Skip to content
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

登录报错 #11

Open
jadeyansir opened this issue Dec 11, 2023 · 7 comments
Open

登录报错 #11

jadeyansir opened this issue Dec 11, 2023 · 7 comments

Comments

@jadeyansir
Copy link

大佬一直报错是怎么回事呀
Login use user + password...
file:///E:/AIproject/yuque-exporter/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.js:158
return new TimeoutError(errorMessage);
^

TimeoutError: Navigation timeout of 30000 ms exceeded
at LifecycleWatcher._LifecycleWatcher_createTimeoutPromise (file:///E:/AIproject/yuque-exporter/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.js:
158:12)
at async Frame.waitForNavigation (file:///E:/AIproject/yuque-exporter/node_modules/puppeteer-core/lib/esm/puppeteer/common/Frame.js:252:23)
at async CDPPage.waitForNavigation (file:///E:/AIproject/yuque-exporter/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js:445:16)
at async autoLogin (file:///E:/AIproject/yuque-exporter/src/login.js:45:7)
at async run (file:///E:/AIproject/yuque-exporter/main.js:44:5)

E:\AIproject\yuque-exporter>

@renyunkang
Copy link
Owner

  1. 检查是否使用的是最新的代码,语雀的登录界面更新了滑动验证
  2. 修改 https://github.com/renyunkang/yuque-exporter/blob/master/main.js#L40C58-L40C58 为 headless: false 观察在运行时卡在哪一步了

@jadeyansir
Copy link
Author

感谢大佬,解决了,是因为""的问题

@jadeyansir
Copy link
Author

有些文档出现这种超时错误,为什么呢
Error: Download timed out
at Timeout._onTimeout (file:///E:/AIproject/yuque-exporter/src/export.js:123:20)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)

@renyunkang
Copy link
Owner

看下文档的文档名称是否有特殊字符呢

@jadeyansir
Copy link
Author

是有特殊字符,这种类型文档还挺多,需要怎么处理呢

@renyunkang
Copy link
Owner

@faith2god
Copy link

faith2god commented Jan 11, 2024

Waiting download document to files\运维开发学习记录\笔试面试\面试经验
Error: Download timed out
    at Timeout._onTimeout (file:///C:/Users/fuyuanyuan/Downloads/yuque-exporter-master/src/export.js:123:20)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)
Retrying download... (attempt 3)

下载超时怎么回事啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants