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.65k stars 3.73k forks source link

bar code is not generated #3159

Closed UmairHashmi90 closed 5 months ago

UmairHashmi90 commented 5 months ago

Is there an existing issue for this?

Describe the bug

I am using webVersionCache: { type: 'remote', remotePath:https://raw.githubusercontent.com/guigo613/alternative-wa-version/main/html/2.2413.51-beta-alt.html, // remotePath:https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/${wwebVersion}.html, },

but its stuck on Connecting... 
no error is generated 

Expected behavior

show barcode

Steps to Reproduce the Bug or Issue

delete session and again want to rescan

Relevant Code

webVersionCache: { type: 'remote', remotePath:https://raw.githubusercontent.com/guigo613/alternative-wa-version/main/html/2.2413.51-beta-alt.html, // remotePath: https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/${wwebVersion}.html, },

Browser Type

Chromium

WhatsApp Account Type

WhatsApp Business

Does your WhatsApp account have multidevice enabled?

No, I am not using Multi Device

Environment

Window Server IOS whatsapp-web.js@1.21.1-alpha.1 node v20.12.2

Additional context

need to resolve urgent

themazim commented 5 months ago

2.2413.51-beta is deprecated. Use webpack exodus branch and remove webVersionCache.

https://github.com/pedroslopez/whatsapp-web.js/pull/2816