-
-
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
After using webcashe #3037
Labels
bug
Something isn't working
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there an existing issue for this?
Describe the bug
using
whatsapp-web.js 1.23.0
and code
const wwebVersion = '2.2410.1';
const client = new Client({
restartOnAuthFail: true,
puppeteer: {
args: [
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-dev-shm-usage',
'--disable-accelerated-2d-canvas',
'--no-first-run',
'--no-zygote',
'--single-process', // <- this one doesn't works in Windows
'--disable-gpu'
],
headless: true,
},
});
0|app-multiple-account | Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default')
0|app-multiple-account | at puppeteer_evaluation_script:5:95
0|app-multiple-account | at ExecutionContext._evaluateInternal (C:\whatsapp\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19)
0|app-multiple-account | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
0|app-multiple-account | at async ExecutionContext.evaluate (C:\whatsapp\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16)
0|app-multiple-account | at async Client.initialize (C:\whatsapp\node_modules\whatsapp-web.js\src\Client.js:323:9)
Expected behavior
0|app-multiple-account | Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default')
0|app-multiple-account | at puppeteer_evaluation_script:5:95
0|app-multiple-account | at ExecutionContext._evaluateInternal (C:\whatsapp\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19)
0|app-multiple-account | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
0|app-multiple-account | at async ExecutionContext.evaluate (C:\whatsapp\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16)
0|app-multiple-account | at async Client.initialize (C:\whatsapp\node_modules\whatsapp-web.js\src\Client.js:323:9)
Steps to Reproduce the Bug or Issue
scan and make it ready
Relevant Code
const wwebVersion = '2.2410.1';
const client = new Client({
restartOnAuthFail: true,
puppeteer: {
args: [
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-dev-shm-usage',
'--disable-accelerated-2d-canvas',
'--no-first-run',
'--no-zygote',
'--single-process', // <- this one doesn't works in Windows
'--disable-gpu'
],
headless: true,
},
});
Browser Type
Chromium
WhatsApp Account Type
WhatsApp Business
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
node v20.11.1
Additional context
Urgent
The text was updated successfully, but these errors were encountered: