-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Error on sendText #309
Comments
whats version u are using? |
Versão 2.0.18 |
The same is happening here #306
|
try using the new versions if the error persists please create an issue again |
(node:18049) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot convert undefined or null to object
at Function.assign ()
at Object.window.WAPI.getchatId (/home/bruno/www/estudos/whatsapp/node_modules/venom-bot/dist/lib/wapi/wapi.js:8:32278)
at async Object.window.WAPI.sendMessage (/home/bruno/www/estudos/whatsapp/node_modules/venom-bot/dist/lib/wapi/wapi.js:8:39096)
at ExecutionContext._evaluateInternal (/home/bruno/www/estudos/whatsapp/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:217:19)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async ExecutionContext.evaluate (/home/bruno/www/estudos/whatsapp/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:106:16)
(Use
node --trace-warnings ...
to show where the warning was created)(node:18049) 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:18049) [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.
The text was updated successfully, but these errors were encountered: