Comments (9)
i have same issue with this error
Unhandled rejection: {}
Promise {
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default')
at puppeteer_evaluation_script:5:95
at ExecutionContext._evaluateInternal (D:\CHATBOT\RS\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ExecutionContext.evaluate (D:\CHATBOT\RS\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16)
at async Client.initialize (D:\CHATBOT\RS\node_modules\whatsapp-web.js\src\Client.js:323:9)
}
Unhandled rejection: {}
Promise {
TypeError: Cannot read properties of null (reading '1')
at LocalWebCache.persist (D:\CHATBOT\RS\node_modules\whatsapp-web.js\src\webCache\LocalWebCache.js:34:69)
at D:\CHATBOT\RS\node_modules\whatsapp-web.js\src\Client.js:744:36
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
from whatsapp-web.js.
Guys please dont mix issues,
Cannot read properties of null (reading '1')
and Cannot read properties of undefined (reading 'default')
are other issues, not related to this. Please follow discussion here #2789 and check this PR #2816
from whatsapp-web.js.
i have same issue with this error Unhandled rejection: {} Promise { Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') at puppeteer_evaluation_script:5:95 at ExecutionContext._evaluateInternal (D:\CHATBOT\RS\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ExecutionContext.evaluate (D:\CHATBOT\RS\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16) at async Client.initialize (D:\CHATBOT\RS\node_modules\whatsapp-web.js\src\Client.js:323:9) } Unhandled rejection: {} Promise { TypeError: Cannot read properties of null (reading '1') at LocalWebCache.persist (D:\CHATBOT\RS\node_modules\whatsapp-web.js\src\webCache\LocalWebCache.js:34:69) at D:\CHATBOT\RS\node_modules\whatsapp-web.js\src\Client.js:744:36 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) }
Same here, sometimes this error occurs too
TypeError: Cannot read properties of null (reading '1') at LocalWebCache.persist (whatsapp-web.js/src/webCache/LocalWebCache.js:33:69)
from whatsapp-web.js.
i have same issue with this error Unhandled rejection: {} Promise { Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') at puppeteer_evaluation_script:5:95 at ExecutionContext._evaluateInternal (D:\CHATBOT\RS\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ExecutionContext.evaluate (D:\CHATBOT\RS\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16) at async Client.initialize (D:\CHATBOT\RS\node_modules\whatsapp-web.js\src\Client.js:323:9) } Unhandled rejection: {} Promise { TypeError: Cannot read properties of null (reading '1') at LocalWebCache.persist (D:\CHATBOT\RS\node_modules\whatsapp-web.js\src\webCache\LocalWebCache.js:34:69) at D:\CHATBOT\RS\node_modules\whatsapp-web.js\src\Client.js:744:36 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) }
We have the same problem. And we have no idea how to fix it...
Also today we have some problems with parsing manifest.json - persist method in LocalWebCache.js nowadays has no profit anymore. If you inspect web.whatsapp.com - there is no info about manifest version anymore
from whatsapp-web.js.
We had a similar problem.
We solved it this way:
- Installed a VPN on the smartphone, for example, Cloudflare WARP (https://warp.plus/keWnd)
- Log out of WhatsApp on the smartphone
- Cleared the cache and data of the WhatsApp app on Android/iOS (fully reinstall WhatsApp on iOS)
- Reboot smartphone
- Opened and enabled Cloudflare WARP on the smartphone, confirmed the creation of a VPN profile in Android/iOS
- Opened WhatsApp and logged in to WhatsApp account
- Initiated the process of linking the WhatsApp account to the
whatsapp-web.js
's session via QR code - The session successfully started and synchronization completed
Done!
Most likely the problem was due to a DNS issue on the network infrastructure side of WhatsApp/Meta, or there was a connectivity issue, or DNS cache.
from whatsapp-web.js.
i have same issue with this error Unhandled rejection: {} Promise { Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') at puppeteer_evaluation_script:5:95 at ExecutionContext._evaluateInternal (D:\CHATBOT\RS\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ExecutionContext.evaluate (D:\CHATBOT\RS\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16) at async Client.initialize (D:\CHATBOT\RS\node_modules\whatsapp-web.js\src\Client.js:323:9) } Unhandled rejection: {} Promise { TypeError: Cannot read properties of null (reading '1') at LocalWebCache.persist (D:\CHATBOT\RS\node_modules\whatsapp-web.js\src\webCache\LocalWebCache.js:34:69) at D:\CHATBOT\RS\node_modules\whatsapp-web.js\src\Client.js:744:36 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) }
same here, waiting for a fix, it alternates between this error and
(node:30) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'WidFactory')
from whatsapp-web.js.
Seems like error happens on version 2.3000.1012539641
from whatsapp-web.js.
To prevent advices like "use cached version", it does not help here becasue whatsapp anyway change version to this 2.3000.1012539641
from whatsapp-web.js.
Related to #2789
from whatsapp-web.js.
Related Issues (20)
- Running for a long time will lead to freezing
- Protocol error (Runtime.callFunctionOn): Execution context was destroyed HOT 3
- window.Store.NumberInfo.findCC is not a function HOT 2
- Evaluation failed: TypeError: window.Store.ProfilePic.profilePicFind is not a function\n at pptr://__puppeteer_evaluation_script__:4:54 HOT 1
- wweb.js (qr-code) is not worked HOT 13
- EBUSY: resource busy or locked, unlink 'C:\wp\.wwebjs_auth\session\lockfile'
- client.getMessageById() cannot find message of reaction.msgId
- {{~DOWNLOAD``!!}} WHATSAPP WEB , WHATSAPP BUSINESS WEB & WHATSAPP DESKTOP WA WEB ((**UPDATED!! 2024)) - CLIENT.JS PULL REQUEST
- Login using whatsapp standlone app on windows
- Feature update story
- CreateGroupError: An unknown error occupied while creating a group HOT 1
- TypeError: Cannot read properties of undefined (reading 'pupPage')
- @sparticuz/chromium support
- error after scan. TypeError: Cannot read properties of undefined (reading 'mediaStage')
- message.delete() is not working
- Client.resetState() error caused by shiftTimer HOT 1
- Send Message To Group Not Send HOT 1
- 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.
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.