-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bot not responding to new version app #4
Comments
I recommend using node version 14 upwards |
(node:24104) UnhandledPromiseRejectionWarning: TimeoutError: waiting for selector
canvas
failed: timeout 45000ms exceededat new WaitTask (C:\wamp64\www\bot\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\DOMWorld.js:509:34)
at DOMWorld.waitForSelectorInPage (C:\wamp64\www\bot\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\DOMWorld.js:420:26)
at Object.internalHandler.waitFor (C:\wamp64\www\bot\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\QueryHandler.js:31:77)
at DOMWorld.waitForSelector (C:\wamp64\www\bot\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\DOMWorld.js:313:29)
at Frame.waitForSelector (C:\wamp64\www\bot\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\FrameManager.js:841:51)
at Page.waitForSelector (C:\wamp64\www\bot\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\Page.js:2238:33)
at Timeout.getQrCode [as _onTimeout] (C:\wamp64\www\bot\node_modules\whatsapp-web.js\src\Client.js:141:28)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:95:5)
(Use
node --trace-warnings ...
to show where the warning was created)(node:24104) 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:24104) [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.
(node:24104) UnhandledPromiseRejectionWarning: TimeoutError: waiting for selector
canvas
failed: timeout 45000ms exceededThe text was updated successfully, but these errors were encountered: