Skip to content
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-web.js crash right after scan qr code #3075

Closed
1 task done
userbox020 opened this issue Jun 3, 2024 · 6 comments
Closed
1 task done

whatsapp-web.js crash right after scan qr code #3075

userbox020 opened this issue Jun 3, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@userbox020
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I run the example code and get the follow error

node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

Error [TypeError]: Cannot read properties of undefined (reading 'default')
    at evaluate (evaluate at Client.initialize (C:\Users\admin\Desktop\www\whatsapp-web-v3\whatsapp-web.js\src\Client.js:340:20), <anonymous>:4:94)
    at #evaluate (C:\Users\admin\Desktop\www\whatsapp-web-v3\whatsapp-web.js\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\ExecutionContext.js:376:56)
    at async ExecutionContext.evaluate (C:\Users\admin\Desktop\www\whatsapp-web-v3\whatsapp-web.js\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\ExecutionContext.js:271:16)
    at async IsolatedWorld.evaluate (C:\Users\admin\Desktop\www\whatsapp-web-v3\whatsapp-web.js\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\IsolatedWorld.js:99:16)
    at async CdpFrame.evaluate (C:\Users\admin\Desktop\www\whatsapp-web-v3\whatsapp-web.js\node_modules\puppeteer-core\lib\cjs\puppeteer\api\Frame.js:342:20)
    at async CdpPage.evaluate (C:\Users\admin\Desktop\www\whatsapp-web-v3\whatsapp-web.js\node_modules\puppeteer-core\lib\cjs\puppeteer\api\Page.js:823:20)
    at async Client.initialize (C:\Users\admin\Desktop\www\whatsapp-web-v3\whatsapp-web.js\src\Client.js:340:9)

Node.js v21.6.2

Expected behavior

run as normal

Steps to Reproduce the Bug or Issue

git clone https://github.com/pedroslopez/whatsapp-web.js.git

cd whatsapp-web.js

npm install redis
npm install ioredis
npm install qrcode-terminal

npm install whatsapp-web.js
npm install github:pedroslopez/whatsapp-web.js#webpack-exodus

npm install puppeteer@latest

node example.js

Relevant Code

No response

Browser Type

Google Chrome

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

Windows Server 2022 Standard
Node.js v21.6.2

Additional context

No response

@userbox020 userbox020 added the bug Something isn't working label Jun 3, 2024
@zieru
Copy link

zieru commented Jun 4, 2024

me too, my whatsapp client stop working too,

Environment
Ubuntu 18
Node.js v20

@Hambaini
Copy link

Hambaini commented Jun 4, 2024

i have same problem.please help guys ..

@Thiago1999
Copy link

Encontro o mesmo problema aqui...

@indrafani03
Copy link

i have same problem.please help guys ..

@felipeDS91
Copy link

I had the same problem here and I fix it using 1.23.1-alpha.6 + WebCache: 2.24xx

Repository owner locked and limited conversation to collaborators Jun 4, 2024
@alechkos
Copy link
Collaborator

alechkos commented Jun 4, 2024

#2789
#2816

@alechkos alechkos closed this as not planned Won't fix, can't repro, duplicate, stale Jun 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants