Closed reioni closed 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: @.***>
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
Es necesario la version 16. de node?
16 o superior, que version whatsapp-web.js tienes instalado ?
Es esa mi estimado
Ejecuta lo siguiente npm i whatsapp-web.js@latest y si tienes esta carpeta .wwebjs_auth borrala tambien
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
Si simplemente cierra session del whatsapp Para donar por paypal desarrollo@leangasoftware.es si gustas ;) o https://www.buymeacoffee.com/leifermendez
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