-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WhatsApp does not work on v2.3XXX #2789
Comments
Please don't close this issue because I took the time to find the specific place where this error occurs. I've searched through existing issues and not a single potential duplicate mentions a solution. My previous issue was closed without any clarifications about reasons for that. |
Same problem last 3 days |
This is the line which cause the problem (https://github.com/pedroslopez/moduleRaid/blob/1867c12241b0d6200bd0d8dc852e875d95278ea3/moduleraid.js#L14): |
Please help |
How do you get wweb version 2.3000? Last version seems to be 2.2408 |
As I see they are rolling out WhatsApp web v 2.3000 little by little, so bug need to be fixed. |
I get this version from Client.getWWebVersion https://docs.wwebjs.dev/Client.html#getWWebVersion |
Any updates? |
Apparently they are moving from Webpack to some other framework called Comet. |
Until the patch for wweb v2.3xxx is out use the webcache with wweb v2.2xxx Relevant wweb versions can be found here |
Is there any update or solution related to this issue? |
SOLVED Use : webVersionCache: { |
please share WAPI js file |
The proposed workaround is not working for me but thanks for the push in the right direction. I changed it to a slightly older version:
|
Sir how to add in WAPI javascript file? |
What framework is this? link plz |
Not anymore, WhatsApp now immediately logs you out when you play with it. |
const wwebVersion = '2.2412.54';
const client = new Client({
authStrategy: new LocalAuth(), // your authstrategy here
puppeteer: {
// puppeteer args here
},
// locking the wweb version
webVersionCache: {
type: 'remote',
remotePath: `https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/${wwebVersion}.html`,
},
}); Relevant WWeb versions can be found here |
This comment was marked as off-topic.
This comment was marked as off-topic.
What worked for me: Get the moduleraid.js file from this link https://github.com/wwebjs/moduleRaid And apply the changes from #2789 (comment) and #2789 (comment) comments. It's working perfectly. |
could anyone make a PR with the solution? |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
hi guys |
But how can i implement it? It's already in the npm latest version? |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
Hey everyone! To install the patch, please run:
The reason it has not been merged yet is because I am still working on stability. |
Incorrect. |
* Upgade node version * Update package.json * Node v18 * Update README.md * Prevent unverified lib upgrade --------- Co-authored-by: Rajeh Taher <rajeh@reforward.dev> Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
Is there an existing issue for this?
Describe the bug
Three days ago I started to receive the following error on account start:
Evaluation failed: TypeError: Cannot read properties of undefined (reading 'push')\n at fillModuleArray (eval at <anonymous> (:2:5), <anonymous>:6:74)\n at moduleRaid (eval at <anonymous> (:2:5), <anonymous>:15:3)\n at puppeteer_evaluation_script:4:17
Expected behavior
As a user, I expect to be logged in and able to send messages.
But I am seeing desribed error.
Steps to Reproduce the Bug or Issue
Relevant Code
No response
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Linux and Windows
whatsapp-web.js version: latest, installed directly from GitHub (ef2f725)
WhatsApp Web version: 2.3000.1011643235
Node.js version: v18.19.0
Additional context
moduleraid
library (Related issue - Evaluation failed: TypeError: Cannot read properties of undefined (reading 'push') moduleRaid#5)The text was updated successfully, but these errors were encountered: