MobCode100 / whatsapp-web.js

whatsapp-web.js + link with phone number. See https://t.ly/KWR4p.
https://wwebjs.dev
Apache License 2.0
2 stars 4 forks source link

cannot read properties of undefined (reading 'default') after scaning the QR #6

Closed yairmelamed closed 1 month ago

yairmelamed commented 1 month ago

Is there an existing issue for this?

Describe the bug

I scan the QR successfuly and then it returns 'cannot read properties of undefined (reading 'default')'.. I think the remotePath is broken.. image

Expected behavior

fire the 'ready' event

Steps to Reproduce the Bug or Issue

scan the qr

Relevant Code

const client = new Client({ puppeteer: { headless: false, args: [ '--no-sandbox', '--disable-setuid-sandbox', '--disable-dev-shm-usage', '--disable-accelerated-2d-canvas', '--disable-gpu', '--single-process', '--no-zygote' ], } });

Browser Type

Chromium

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

windows

Additional context

No response

MobCode100 commented 1 month ago

For anyone else having this issue, please use the webpack-exodus branch. Refer README.md for usage.