GithubHelp home page GithubHelp logo

Comments (4)

MaitoV avatar MaitoV commented on June 6, 2024

I'm experiencing the same issue with version 2.3000.xx and webpack-exodus.

from whatsapp-web.js.

smsoousa avatar smsoousa commented on June 6, 2024

Was the WWJ project abandoned? In the last update last year, we have many instance disconnection errors, even with the corrections proposed by the collaborators.

5|1006-104 | at emitErrorNT (node:internal/streams/destroy:151:8) 5|1006-104 | at emitErrorCloseNT (node:internal/streams/destroy:116:3) 5|1006-104 | at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { 5|1006-104 | type: 'system', 5|1006-104 | errno: 'ENOTFOUND', 5|1006-104 | code: 'ENOTFOUND' 5|1006-104 | } 5|1006-104 | Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'push') 5|1006-104 | at fillModuleArray (eval at <anonymous> (:2:5), <anonymous>:6:74) 5|1006-104 | at moduleRaid (eval at <anonymous> (:2:5), <anonymous>:15:3) 5|1006-104 | at __puppeteer_evaluation_script__:4:17 5|1006-104 | at ExecutionContext._evaluateInternal (/opt/1006-104.237.2.168-Bravos/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221:19) 5|1006-104 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 5|1006-104 | at async ExecutionContext.evaluate (/opt/1006-104.237.2.168-Bravos/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:110:16) 5|1006-104 | at async Client.initialize (/opt/1006-104.237.2.168-Bravos/node_modules/whatsapp-web.js/src/Client.js:323:9)

6|1007-104 | at __puppeteer_evaluation_script__:5:95 6|1007-104 | at ExecutionContext._evaluateInternal (/opt/1007-104.237.9.136-Today/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221:19) 6|1007-104 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 6|1007-104 | at async ExecutionContext.evaluate (/opt/1007-104.237.9.136-Today/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:110:16) 6|1007-104 | at async Client.initialize (/opt/1007-104.237.9.136-Today/node_modules/whatsapp-web.js/src/Client.js:323:9) 6|1007-104 | ProtocolError: Protocol error (Network.getResponseBody): Target closed. 6|1007-104 | at /opt/1007-104.237.9.136-Today/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:329:24 6|1007-104 | at new Promise (<anonymous>) 6|1007-104 | at CDPSessionImpl.send (/opt/1007-104.237.9.136-Today/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:325:16) 6|1007-104 | at /opt/1007-104.237.9.136-Today/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js:140:100 6|1007-104 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 6|1007-104 | at async HTTPResponse.text (/opt/1007-104.237.9.136-Today/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js:160:25) 6|1007-104 | at async /opt/1007-104.237.9.136-Today/node_modules/whatsapp-web.js/src/Client.js:778:39 { 6|1007-104 | originalMessage: '' 6|1007-104 | }

I've already used npm install github:

pedroslopez/whatsapp-web.js#webpack-exodus

but it didn't work for me, the client connects to the instance and is then disconnected! What worked at first was:

webVersionCache: { type: 'remote', remotePath: 'https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2409.0.html', }

but it works for a few days and then I get the error stated above, so I need to clear wwebjs_auth and read the qrcode again. Can anyone help me with a way to fix this? May it be an efficient solution if possible? Thanks

"whatsapp-web.js": "^1.23.0"

from whatsapp-web.js.

themazim avatar themazim commented on June 6, 2024

Feel free to test and review this fix: themazim@5e94f29

PR: #3029

from whatsapp-web.js.

smsoousa avatar smsoousa commented on June 6, 2024

I'm sorry, I think I posted my error in the wrong place, could you redirect me?

from whatsapp-web.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.