wechat-chatgpt [Error] ProtocolError: Protocol error (Page.addScriptToEvaluateOnNewDocument): Target closed.

apeeds0o  于 2023-02-16  发布在  其他
关注(0)|答案(3)|浏览(333)

ProtocolError: Protocol error (Page.addScriptToEvaluateOnNewDocument): Target closed.
at /app/node_modules/puppeteer/src/common/Connection.ts:304:16
at new Promise ()
at CDPSession.send (/app/node_modules/puppeteer/src/common/Connection.ts:300:12)
at Page.evaluateOnNewDocument (/app/node_modules/puppeteer/src/common/Page.ts:2599:24)
at ChatGPTAPIBrowser.initSession (file:///app/node_modules/chatgpt/src/chatgpt-api-browser.ts:148:18)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async AsyncRetry.retries (file:///app/src/chatgpt.ts:75:13)
at async ChatGPTPool.startPools (file:///app/src/chatgpt.ts:73:9)
at async ChatGPTBot.startGPTBot (file:///app/src/bot.ts:41:5)
at async main (file:///app/src/main.ts:16:3) {
originalMessage: ''
}
[nodemon] app crashed - waiting for file changes before starting...
[nodemon] app crashed - waiting for file changes before starting...
}

qncylg1j

qncylg1j1#

相同的问题,一直没有解决

xqkwcwgp

xqkwcwgp3#

+1
是每个版本都这样呢?还是说换个版本就可以呢?难道软件目前不能用了吗?

相关问题