Not Connect
Closed this issue · 2 comments
Server Running Live on Port : 5000
GET : /auth/getqr
(node:9068) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read property 'default' of undefined
at puppeteer_evaluation_script:5:51
at ExecutionContext._evaluateInternal (C:\Users\Leo Teixeira\Desktop\apiwhats\whatsapp-node-api-master\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:217:19)
at processTicksAndRejections (internal/process/task_queues.js:85:5)
at async ExecutionContext.evaluate (C:\Users\Leo Teixeira\Desktop\apiwhats\whatsapp-node-api-master\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:106:16)
at async Client.initialize (C:\Users\Leo Teixeira\Desktop\apiwhats\whatsapp-node-api-master\node_modules\whatsapp-web.js\src\Client.js:145:9)
(node:9068) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:9068) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
@leoteixeira2016 pedroslopez/whatsapp-web.js#440 & canove/whaticket-community#80
Updating whatsapp-web.js should fix your issue
tanks