pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
15.21k stars 3.63k forks source link

package doesn't fire ready event although whatsapp is authenticated and ran correctly #2436

Closed Mahmoudreda66 closed 1 year ago

Mahmoudreda66 commented 1 year ago

Is there an existing issue for this?

Describe the bug

when installing new version of the package the ready event is not firing

Expected behavior

firing ready event after login succeeded

Steps to Reproduce the Bug or Issue

  1. install new version
  2. use local auth
  3. login using qrcode

Relevant Code

No response

Browser Type

Chromium

WhatsApp Account Type

WhatsApp Business

Does your WhatsApp account have multidevice enabled?

No, I am not using Multi Device

Environment

Windows

Additional context

No response

rafaelqm commented 1 year ago

Same here.

VIPIN24BOHRA commented 1 year ago

I am also facing the same issue, After scanning QR, the ready event doesn't get fired.

oregisam commented 1 year ago

Any solution? we have the same problem here

joulgs commented 1 year ago

Same here.

Xannd commented 1 year ago

temp fix

npm r whatsapp-web.js

set this version in package.json "whatsapp-web.js": "https://github.com/Julzk/whatsapp-web.js/tarball/jkr_hotfix_7"

npm install

credits: @pedroherpeto

MaikeMota commented 1 year ago

temp fix

npm r whatsapp-web.js

set this version in package.json "whatsapp-web.js": "https://github.com/Julzk/whatsapp-web.js/tarball/jkr_hotfix_7"

npm install

credits: @pedroherpeto

This works for me! Thanks!

TharukaDananjaya commented 1 year ago

same issue. any solution?

aliefdany commented 1 year ago

waiting for permanent fix

sagirr commented 1 year ago

use this version npm i whatsapp-web.js@1.22.2-alpha.0

antraxsec commented 1 year ago

Alguien sabe porque hay este error. Como solucionaron?

EdnaldoTaurino commented 1 year ago

Xand

Funcionou para mim assim: deleta a pasta wwebjs.auth npm i https://github.com/Julzk/whatsapp-web.js/tarball/jkr_hotfix_7

pronto a pasta vai ser criada novamente e o bug foi resolvido

AndreFelixQuaest commented 1 year ago

use this version npm i whatsapp-web.js@1.22.2-alpha.0

Running it fixed for me

frnndwrms commented 1 year ago

there is a newer https://github.com/Julzk/whatsapp-web.js/tarball/jkr_hotfix_8

El vie, 1 sept 2023 a la(s) 10:42, AndreFelixQuaest ( @.***) escribió:

use this version npm i @.***

Running it fixed for me

— Reply to this email directly, view it on GitHub https://github.com/pedroslopez/whatsapp-web.js/issues/2436#issuecomment-1702769740, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOQBBZJEG4ZBPPGSUWD7Y6DXYHQ4LANCNFSM6AAAAAA33IQBEQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Fernando Wermus.

Los contenidos de este mensaje, y los archivos adjuntos, son de carácter confidencial. Si ud. no es el legitimo destinatario de este mensaje, avise inmediatamente al remitente y borre este mensaje. Cualquier distribución o divulgación no autorizada de este mensaje y sus archivos asociados está prohibida. Por favor infórmenos inmediatamente y destruya el original o cualquier impresión del mismo.

Important Note: This e-mail (including any attachments) is confidential and intended only for the use of the addressee (s) named herein. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original e-mail and any printouts.