GET : /auth/closeClient/623d7dbe003b3e0c0c76be59
ProtocolError: Protocol error (Runtime.callFunctionOn): Target closed.
at /var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:230:24
at new Promise ()
at CDPSession.send (/var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:226:16)
at ExecutionContext._evaluateInternal (/var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:204:50)
at ExecutionContext.evaluateHandle (/var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:155:21)
at WaitTask.rerun (/var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:551:37)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
originalMessage: ''
}
How to resolve this issue
GET : /auth/closeClient/623d7dbe003b3e0c0c76be59 ProtocolError: Protocol error (Runtime.callFunctionOn): Target closed. at /var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:230:24 at new Promise ()
at CDPSession.send (/var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:226:16)
at ExecutionContext._evaluateInternal (/var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:204:50)
at ExecutionContext.evaluateHandle (/var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:155:21)
at WaitTask.rerun (/var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:551:37)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
originalMessage: ''
}