从远程获取版本 2.2346.52 时出错 FetchError

问题描述 投票:0回答:1

从远程获取版本 2.2346.52 时出错 FetchError:请求 https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2412.54.html 失败,原因:getaddrinfo ENOTFOUND raw。 githubusercontent.com 在客户请求时。 (/Users/abc/Documents/Tech_Journey/projects/habait/chatbot/node_modules/node-fetch/lib/index.js:1501:11) 在 ClientRequest.emit (节点:事件:518:28) 在 TLSSocket.socketErrorListener (节点:_http_client:495:9) 在 TLSSocket.emit (节点:事件:518:28) 在emitErrorNT(节点:内部/流/销毁:169:8) 在emitErrorCloseNT(节点:内部/流/销毁:128:3) 在 process.processTicksAndRejections (节点:内部/进程/task_queues:82:21){ 类型:'系统', 错误号:'ENOTFOUND', 代码:'ENOTFOUND' } /Users/abc/Documents/Tech_Journey/projects/habait/chatbot/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:156 ?新错误(

${response.errorText} at ${url}
) ^

错误:net::ERR_INTERNET_DISCONNECTED 位于 https://web.whatsapp.com/ 在导航(/Users/abc/Documents/Tech_Journey/projects/habait/chatbot/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:156:23) 在 process.processTicksAndRejections (节点:内部/进程/task_queues:95:5) 在异步 FrameManager.navigateFrame (/Users/abc/Documents/Tech_Journey/projects/habait/chatbot/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:131:21) 在异步 Frame.goto (/Users/abc/Documents/Tech_Journey/projects/habait/chatbot/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:512:16) 在异步Page.goto(/Users/abc/Documents/Tech_Journey/projects/habait/chatbot/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:1167:16) 在异步 Client.initialize (/Users/abc/Documents/Tech_Journey/projects/habait/chatbot/node_modules/whatsapp-web.js/src/Client.js:124:9)

Node.js v20.11.1 [nodemon] 应用程序崩溃 - 启动前等待文件更改...

node.js whatsapp
1个回答
0
投票

我也面临着同样的问题,请有人帮助我们

© www.soinside.com 2019 - 2024. All rights reserved.