mukulhase / WebWhatsapp-Wrapper

An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018]
https://webwhatsapi.readthedocs.io/en/latest/
MIT License
2.02k stars 797 forks source link

javascript error: Comms::sendIq called before startComms #1037

Closed rajeshshettysrs closed 3 years ago

rajeshshettysrs commented 3 years ago
  • Advertising of monetized Frameworks is strictly forbidden and will be reported

  • [ ] The language must be English, if you are not fluent in English consider using: https://www.deepl.com/translator if it supports your native language

  • [ ] Please check if any other issue already adresses your concerns or if a recent PR is already fixing the mentioned issue

  • [ ] Please make sure to format your code, and to mark your code as such, with the provided tools from github (upper right of this box)

  • [ ] Please state your Operating System (inlcuding version), your Python Version, and your installation way (pip, from repo) and if you are running it inside a docker container

  • [ ] Note that the pip installation might be behind, so try to fix your issue with a pull from the repo and update to the most recent version

  • [ ] Follow the Stackoverflow Guidelines (https://stackoverflow.com/help/how-to-ask) when in need of help

  • [ ] Consider posting your question on Stackoverflow if it is a general programming question

  • [ ] There will be no support for spamming, or other mischief

  • [ ] There will be no support for finding professionals

Sir getting below error in WAPI.js, javascript error: Comms::sendIq called before startComms (Session info: chrome=91.0.4472.77)

chrome version is:91

mouhammad-zd commented 3 years ago

@rajeshshettysrs

Hey man !!!

See here https://github.com/mukulhase/WebWhatsapp-Wrapper/issues/1033#issuecomment-853758511

rajeshshettysrs commented 3 years ago

@rajeshshettysrs

Hey man !!!

See here #1033 (comment)

Thank you very very much sir and thanks to @bobaoapae

Just change store discovery for WapQuery, getting wrong reference. "{ id: "WapQuery", conditions: (module) => (module.default && module.default.queryExist) ? module.default : null},"

this solution worked for above issue.