Comments (4)
I'm experiencing the same issue with version 2.3000.xx and webpack-exodus.
from whatsapp-web.js.
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.
Feel free to test and review this fix: themazim@5e94f29
PR: #3029
from whatsapp-web.js.
I'm sorry, I think I posted my error in the wrong place, could you redirect me?
from whatsapp-web.js.
Related Issues (20)
- Getting remote session client is not Ready HOT 8
- Whatsapp Account Blocked because of Spam HOT 3
- getMessageById() Get Message ID(). If the message ID in the message I sent belongs to a message I sent to myself, an error occurs.
- Message not visible to sender but visible to receiver. HOT 3
- add user as new contact? HOT 2
- vote_update event HOT 3
- RemoteAuth saving an increasingly large file becoming unmaintainable in a short time HOT 3
- sendMessage with quote will raise an exception
- Evaluation failed: a at ExecutionContext._ExecutionContext_evaluate
- client.sendMessage() not working. HOT 2
- Cannot read properties of undefined (reading 'sendMessage') HOT 3
- How to get the last login time of a contact HOT 1
- fetchMessages() Not Retrieving Sent Messages from client.sendMessage() HOT 1
- How do I save received images and documents? HOT 2
- Error send mp4 in sudden HOT 1
- Duplicate Contacts Returned by getContacts() Method HOT 1
- Could someone solve this problem? HOT 1
- Heroku Server Crash HOT 1
- ViewOnce not downloading HOT 5
- How can I recollect (retrieve) chats and media for a specific time range (X to Y) in WhatsApp-Web.js?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whatsapp-web.js.