Santosl2 / wpp-chatgpt

Make your whatsapp BOT talk like a human using ChatGPT!
Apache License 2.0
81 stars 78 forks source link

QR code is not show me #2

Closed Paresh-Maheshwari closed 1 year ago

Paresh-Maheshwari commented 1 year ago

i run command but qr code is not show me image

Santosl2 commented 1 year ago

Hello there. Can you try in another terminal?

vavidoa commented 1 year ago

same for me, does not show the QR. already tried in other terminals, and also with admin perms.

Santosl2 commented 1 year ago

same for me, does not show the QR. already tried in other terminals, and also with admin perms.

What's the Node JS version are you using?

vavidoa commented 1 year ago

same for me, does not show the QR. already tried in other terminals, and also with admin perms.

What's the Node JS version are you using?

v18.13.0. image

after do some: npm audit fix --force

no i get this error `node:events:491 throw er; // Unhandled 'error' event ^

Error: listen EADDRINUSE: address already in use :::7000 at Server.setupListenHandle [as _listen2] (node:net:1733:16) at listenInCluster (node:net:1781:12) at Server.listen (node:net:1869:7) at C:\Users\User\Desktop\wpp-chatgpt-master\node_modules\@open-wa\wa-automate\dist\controllers\popup\index.js:120:16 at Generator.next () at fulfilled (C:\Users\User\Desktop\wpp-chatgpt-master\node_modules\@open-wa\wa-automate\dist\controllers\popup\index.js:28:58) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Emitted 'error' event on Server instance at: at emitErrorNT (node:net:1760:8) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { code: 'EADDRINUSE', errno: -4091, syscall: 'listen', address: '::', port: 7000 }

Node.js v18.13.0`

vavidoa commented 1 year ago

Ok, solved

changed file "package.json" "@open-wa/wa-automate": "^4.55.0",

and run again npm install

and now is working

image

Santosl2 commented 1 year ago

What did you change? Because the version is the same as the project's.

vavidoa commented 1 year ago

somehow previously the version downloaded was the "2.0.15"

vavidoa commented 1 year ago

image

image

Santosl2 commented 1 year ago

I upgraded the package version, but i think it might be a bug in npm or Yarn. Thx dude