We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
puppeteer postinstall$ node install.js │ ERROR: Failed to set up Chromium r1108766! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download. │ Error: read ECONNRESET │ at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) { │ errno: -54, │ code: 'ECONNRESET', │ syscall: 'read' │ }
The text was updated successfully, but these errors were encountered:
我今天也遇到了一样的问题,改了两个地方就没问题了
"puppeteer": "^21"
$env:PUPPETEER_SKIP_DOWNLOAD="false"
Sorry, something went wrong.
我今天也遇到了一样的问题,改了两个地方就没问题了 调整依赖版本"puppeteer": "^21" 设置环境变量 $env:PUPPETEER_SKIP_DOWNLOAD="false"
我也试好了,同时提供一个小tips:
ps: 因为我的知识库文档内容太多,可以在 getAllBooks 函数中,拿到 bookData 数据后,进行判断,只下载需要的 books 知识库。 code:if (object.books[i].id ===48016029) {
通过 https://www.yuque.com/api/mine/book_stacks 接口获取 全部 bookData内容,得到book_id。
通过https://www.yuque.com/api/catalog_nodes?book_id=xxx + id 可以得到当前知识库的全部文章列表 getBookDetail 内容。
No branches or pull requests
puppeteer postinstall$ node install.js
│ ERROR: Failed to set up Chromium r1108766! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
│ Error: read ECONNRESET
│ at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) {
│ errno: -54,
│ code: 'ECONNRESET',
│ syscall: 'read'
│ }
The text was updated successfully, but these errors were encountered: