codigoencasa / builderbot

🤖 Crear Chatbot WhatsApp en minutos. Únete a este proyecto OpenSource
https://www.builderbot.app
MIT License
2.43k stars 833 forks source link

responder mensagens #123

Closed reioni closed 1 year ago

reioni commented 1 year ago

C:\Users\oni\OneDrive\Área de Trabalho\bot-whatsapp-main\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221 throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails)); ^

Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') at puppeteer_evaluation_script:14:123 at ExecutionContext._evaluateInternal (C:\Users\oni\OneDrive\Área de Trabalho\bot-whatsapp-main\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ExecutionContext.evaluate (C:\Users\oni\OneDrive\Área de Trabalho\bot-whatsapp-main\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16) at async Client.initialize (C:\Users\oni\OneDrive\Área de Trabalho\bot-whatsapp-main\node_modules\whatsapp-web.js\src\Client.js:216:9)

Node.js v18.10.0

leifermendez commented 1 year ago

Hi, sometime is necessary re-install de packages, try npm install again

On Sun, Nov 27, 2022, 06:50 rei oni @.***> wrote:

C:\Users\oni\OneDrive\Área de Trabalho\bot-whatsapp-main\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221 throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails)); ^

Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') at puppeteer_evaluation_script:14:123 at ExecutionContext._evaluateInternal (C:\Users\oni\OneDrive\Área de Trabalho\bot-whatsapp-main\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ExecutionContext.evaluate (C:\Users\oni\OneDrive\Área de Trabalho\bot-whatsapp-main\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16) at async Client.initialize (C:\Users\oni\OneDrive\Área de Trabalho\bot-whatsapp-main\node_modules\whatsapp-web.js\src\Client.js:216:9)

Node.js v18.10.0

— Reply to this email directly, view it on GitHub https://github.com/leifermendez/bot-whatsapp/issues/123, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADYR77RPG3MKH6PFWBYOQ4TWKLZCZANCNFSM6AAAAAASMLEBQA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Aronchavez commented 1 year ago

C:\Users\Chavez\ARON SAMIR\NETBOB\CHATBOT(WHATSAPP)\bot-whatsapp-main\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221 throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails)); ^

Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'isMDBackend') at puppeteer_evaluation_script:13:68 at ExecutionContext._evaluateInternal (C:\Users\Chavez\ARON SAMIR\NETBOB\CHATBOT(WHATSAPP)\bot-whatsapp-main\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ExecutionContext.evaluate (C:\Users\Chavez\ARON SAMIR\NETBOB\CHATBOT(WHATSAPP)\bot-whatsapp-main\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16) at async Client.initialize (C:\Users\Chavez\ARON SAMIR\NETBOB\CHATBOT(WHATSAPP)\bot-whatsapp-main\node_modules\whatsapp-web.js\src\Client.js:267:9)

Node.js v18.12.1

Aronchavez commented 1 year ago

Es necesario la version 16. de node?

leifermendez commented 1 year ago

16 o superior, que version whatsapp-web.js tienes instalado ?

Aronchavez commented 1 year ago

image Captura de pantalla 2022-11-28 105442

Aronchavez commented 1 year ago

Es esa mi estimado

leifermendez commented 1 year ago

Ejecuta lo siguiente npm i whatsapp-web.js@latest y si tienes esta carpeta .wwebjs_auth borrala tambien

Aronchavez commented 1 year ago

Gracias!!! no tiene paypal o algo para donarle y una pregunta para desactivar el bot simplemente cierro la sesion de whatsapp web o como se haria

leifermendez commented 1 year ago

Si simplemente cierra session del whatsapp Para donar por paypal desarrollo@leangasoftware.es si gustas ;) o https://www.buymeacoffee.com/leifermendez