Skip to content
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

multidevice: Module sendQueryExists not found #985

Closed
antirek opened this issue Mar 30, 2022 · 2 comments
Closed

multidevice: Module sendQueryExists not found #985

antirek opened this issue Mar 30, 2022 · 2 comments
Labels
bug Something isn't working needs triage

Comments

@antirek
Copy link
Contributor

antirek commented Mar 30, 2022

Description

await client.checkNumberStatus(chatId)

Error: "Module sendQueryExists not found with e=>{var t,r;return(null===(t=e.default)||void 0===t?void 0:t.toStrin
g().includes(\"Should not reach queryExists MD\"))||(null===(r=e.queryExists)||void 0===r?void 0:r.toString().includes(\"Should not reach queryExists MD\"))}"
     at /usr/src/app/node_modules/@wppconnect-team/wppconnect/dist/api/helpers/evaluate-and-return.js:106:31
     at step (/usr/src/app/node_modules/@wppconnect-team/wppconnect/dist/api/helpers/evaluate-and-return.js:49:23)
     at Object.next (/usr/src/app/node_modules/@wppconnect-team/wppconnect/dist/api/helpers/evaluate-and-return.js:30:53)
     at fulfilled (/usr/src/app/node_modules/@wppconnect-team/wppconnect/dist/api/helpers/evaluate-and-return.js:21:58)
     at runMicrotasks (<anonymous>)
     at processTicksAndRejections (node:internal/process/task_queues:96:5)
 JS Stack: Error: "Module sendQueryExists not found with e=>{var t,r;return(null===(t=e.default)||void 0===t?void 0:t.toS
tring().includes(\"Should not reach queryExists MD\"))||(null===(r=e.queryExists)||void 0===r?void 0:r.toString().includes(\"Should not reach queryExists MD\"))}"
     at /usr/src/app/node_modules/@wppconnect-team/wppconnect/dist/api/helpers/evaluate-and-return.js:103:33
     at step (/usr/src/app/node_modules/@wppconnect-team/wppconnect/dist/api/helpers/evaluate-and-return.js:49:23)
     at Object.next (/usr/src/app/node_modules/@wppconnect-team/wppconnect/dist/api/helpers/evaluate-and-return.js:30:53)
     at fulfilled (/usr/src/app/node_modules/@wppconnect-team/wppconnect/dist/api/helpers/evaluate-and-return.js:21:58)
     at runMicrotasks (<anonymous>)
     at processTicksAndRejections (node:internal/process/task_queues:96:5) {

Environment

  • WPPConnect version(s): 1.12.8
  • WA-JS version(s): 1.2.2
  • Browser: Chrome 99
  • OS: Ubuntu 20.04
  • Node version: Node 16
  • WhatsApp version: 2.2210.9
  • MultiDevice (BETA): yes
@antirek antirek added bug Something isn't working needs triage labels Mar 30, 2022
@edgardmessias
Copy link
Contributor

@antirek , please, update your WA-JS to >= v1.2.4 - npm install @wppconnect/wa-js@latest

@antirek
Copy link
Contributor Author

antirek commented Mar 30, 2022

Ok, great thanks, Edgard @edgardmessias

I use in package.json only one dependency from @wppconnect-team/wppconnect and I think that wa-js is sub dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

2 participants