pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
15.24k stars 3.63k forks source link

UnhandledPromiseRejectionWarning: Error: Multi-device is not yet supported by whatsapp-web.js. Please check out https://github.com/pedroslopez/whatsapp-web.js/pull/889 to follow the progress. #1120

Closed Dolay03 closed 2 years ago

Dolay03 commented 2 years ago

Bug description

UnhandledPromiseRejectionWarning: Error: Multi-device is not yet supported by whatsapp-web.js. Please check out

UnhandledPromiseRejectionWarning: Error: Multi-device is not yet supported by whatsapp-web.js. Please check out https://github.com/pedroslopez/whatsapp-web.js/pull/889 to follow the progress. at Client.initialize (/Users/macbook/Documents/nodejs/videocall/node_modules/whatsapp-web.js/src/Client.js:205:19) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:93:5) (Use node --trace-warnings ... to show where the warning was created) (node:28008) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:28008) [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.

fdciabdul commented 2 years ago

758