Is there an existing issue for this?
Describe the bug
I get this error when I run my script as usual on the server :
node main.js
then after reading the qrcode successfully I get this error :
`/root/whatsappBot/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:284
throw new Error('Execution context was destroyed, most likely because of a navigation.');
^
Error: Execution context was destroyed, most likely because of a navigation.
at rewriteError (/root/whatsappBot/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:284:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ExecutionContext._ExecutionContext_evaluate (/root/whatsappBot/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:227:56)
at async ExecutionContext.evaluate (/root/whatsappBot/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:107:16)
at async Client.initialize (/root/whatsappBot/node_modules/whatsapp-web.js/src/Client.js:286:9)
Node.js v20.12.0`
Expected behavior
it was working good until 2 days ago.
Steps to Reproduce the Bug or Issue
1- run your script
node main.js
2- read the qr code
3- you will get the error
Relevant Code
No response
Browser Type
Google Chrome
WhatsApp Account Type
WhatsApp Business
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Ubuntu 22.04.4 LTS
Phone OS: Android 13
whatsapp-web.js version 1.23.0
Node.js v20.12.0
Additional context
If I try it on Whatsapp for individuals it works fine ! with no issues.
Is there an existing issue for this?
Describe the bug
I get this error when I run my script as usual on the server :
node main.js
then after reading the qrcode successfully I get this error :
`/root/whatsappBot/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:284
throw new Error('Execution context was destroyed, most likely because of a navigation.');
^
Error: Execution context was destroyed, most likely because of a navigation.
at rewriteError (/root/whatsappBot/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:284:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ExecutionContext._ExecutionContext_evaluate (/root/whatsappBot/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:227:56)
at async ExecutionContext.evaluate (/root/whatsappBot/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:107:16)
at async Client.initialize (/root/whatsappBot/node_modules/whatsapp-web.js/src/Client.js:286:9)
Node.js v20.12.0`
Expected behavior
it was working good until 2 days ago.
Steps to Reproduce the Bug or Issue
1- run your script
node main.js
2- read the qr code
3- you will get the error
Relevant Code
No response
Browser Type
Google Chrome
WhatsApp Account Type
WhatsApp Business
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Ubuntu 22.04.4 LTS
Phone OS: Android 13
whatsapp-web.js version 1.23.0
Node.js v20.12.0
Additional context
If I try it on Whatsapp for individuals it works fine ! with no issues.