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

Unable to get QR code #76

Open
manojsitapara opened this issue May 12, 2021 · 2 comments
Open

Unable to get QR code #76

manojsitapara opened this issue May 12, 2021 · 2 comments

Comments

@manojsitapara
Copy link

manojsitapara commented May 12, 2021

I am getting following error, can someone please help me to fix this error?

======= 2021-05-12 10:28:08: TypeError: Cannot create property 'eventMode' on string '/whatsSessions/83430' TypeError: Cannot create property 'eventMode' on string '/whatsSessions/83430' at Object.<anonymous> (/var/www/w2api/node_modules/@open-wa/wa-automate/dist/controllers/initializer.js:81:30) at Generator.next (<anonymous>) at /var/www/w2api/node_modules/@open-wa/wa-automate/dist/controllers/initializer.js:27:71 at new Promise (<anonymous>) at __awaiter (/var/www/w2api/node_modules/@open-wa/wa-automate/dist/controllers/initializer.js:23:12) at Object.create (/var/www/w2api/node_modules/@open-wa/wa-automate/dist/controllers/initializer.js:74:12) at Framework.<anonymous> (/var/www/w2api/modules/whatsapp.js:216:10) at global.EMIT.F.emit (/var/www/w2api/node_modules/total.js/index.js:1526:11) at Timeout._onTimeout (/var/www/w2api/node_modules/total.js/index.js:7722:7) at listOnTimeout (node:internal/timers:557:17)

image

here is my package.json

{ "name": "w2api-master", "version": "0.0.9", "description": "An Javascript based WhatsApp library for connect your data as API", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/joaomirandasa/whats2api.git" }, "keywords": [ "whatsapp", "api", "whatsapp", "api", "puppeter" ], "author": "João Vitor Miranda Santos", "license": "MIT", "bugs": { "url": "https://github.com/joaomirandasa/whats2api/issues" }, "homepage": "https://github.com/joaomirandasa/whats2api#readme", "dependencies": { "@open-wa/wa-automate": "^3.11.3", "async": "^3.2.0", "download-file": "^0.1.5", "minimist": ">=1.2.5", "moment": "^2.29.1", "puppeteer": "^9.1.1", "request": "^2.88.2", "total.js": "^3.4.8", "vcards-js": "^2.10.0" } }

@julianokunha
Copy link

Tenho o mesmo problema, inclusive fui tentar usar mais tive tantos erros de dependências ultrapassadas que desisti.

@manojsitapara
Copy link
Author

@julianokunha thank you for comment and feedback, did you find out any alternative solution.

Right now I am using docker container for each new WhatsApp instance, but looks like it's not feasible solution.

Please suggest if you have better idea or suggestions.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants