pranavms13 / whatsapp-node-api

A Simple NodeJS API Wrapper for WhatsApp
Other
474 stars 183 forks source link

Not Connect #15

Closed leoteixeira2016 closed 3 years ago

leoteixeira2016 commented 3 years ago

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.

esteves67 commented 3 years ago

@leoteixeira2016 https://github.com/pedroslopez/whatsapp-web.js/issues/440 & https://github.com/canove/whaticket/issues/80 Updating whatsapp-web.js should fix your issue

leoteixeira2016 commented 3 years ago

tanks