Closed SmookeyDev closed 1 month ago
Using Exodus Version Requer Node 18+ 1- npm install github:pedroslopez/whatsapp-web.js#webpack-exodus; 2- If you are using, remove WebCache; 3- delete folders node_modules and wwebjs_auth; 4- npm install; 5- start seu bot.
2024-07-20T15_12_33_219Z-debug-0.log what should I do ? I'm using node js v20.15.1. C:\Users\ofis\Desktop\wpbot\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:229 throw new Error('Evaluation failed: ' + (0, util_js_1.getExceptionMessage)(exceptionDetails)); ^
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') at pptr://_puppeteer_evaluationscript:5:95 at ExecutionContext._ExecutionContext_evaluate (C:\Users\ofis\Desktop\wpbot\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:229:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ExecutionContext.evaluate (C:\Users\ofis\Desktop\wpbot\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:107:16) at async Client.initialize (C:\Users\ofis\Desktop\wpbot\node_modules\whatsapp-web.js\src\Client.js:340:9)
Node.js v20.15.1 PS C:\Users\ofis\Desktop\wpbot> npm install github:pedroslopez/whatsapp-web.js#webpack-exodus; npm error code ENOENT npm error syscall spawn git npm error path git npm error errno -4058 npm error enoent An unknown git error occurred npm error enoent This is related to npm not being able to find a file. npm error enoent
npm error A complete log of this run can be found in: C:\Users\ofis\AppData\Local\npm-cache_logs\2024-07-20T15_12_33_219Z-debug-0.log
Using Exodus Version Requer Node 18+ 1- npm install github:pedroslopez/whatsapp-web.js#webpack-exodus; 2- If you are using, remove WebCache; 3- delete folders node_modules and wwebjs_auth; 4- npm install; 5- start seu bot.
2024-07-20T15_12_33_219Z-debug-0.log what should I do ? I'm using node js v20.15.1. C:\Users\ofis\Desktop\wpbot\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:229 throw new Error('Evaluation failed: ' + (0, util_js_1.getExceptionMessage)(exceptionDetails)); ^
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') at pptr://_puppeteer_evaluationscript:5:95 at ExecutionContext._ExecutionContext_evaluate (C:\Users\ofis\Desktop\wpbot\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:229:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ExecutionContext.evaluate (C:\Users\ofis\Desktop\wpbot\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:107:16) at async Client.initialize (C:\Users\ofis\Desktop\wpbot\node_modules\whatsapp-web.js\src\Client.js:340:9)
Node.js v20.15.1 PS C:\Users\ofis\Desktop\wpbot> npm install github:pedroslopez/whatsapp-web.js#webpack-exodus; npm error code ENOENT npm error syscall spawn git npm error path git npm error errno -4058 npm error enoent An unknown git error occurred npm error enoent This is related to npm not being able to find a file. npm error enoent
npm error A complete log of this run can be found in: C:\Users\ofis\AppData\Local\npm-cache_logs\2024-07-20T15_12_33_219Z-debug-0.log
Using Exodus Version Requer Node 18+ 1- npm install github:pedroslopez/whatsapp-web.js#webpack-exodus; 2- If you are using, remove WebCache; 3- delete folders node_modules and wwebjs_auth; 4- npm install; 5- start seu bot.
Install Git
Is there an existing issue for this?
Describe the bug
I am attempting to integrate whatsapp-web.js into my web application. However, when reading the QR code, the back-end crashes and returns the following error:
C:\Users\icaro\OneDrive\Documentos\Trabalho\Freela\WhatsApp Bomber\whatsappbomber-api\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:230 throw new Error('Evaluation failed: ' + (0, util_js_1.getExceptionMessage)(exceptionDetails)); ^
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') at pptr://puppeteer_evaluation_script:5:95 at ExecutionContext._ExecutionContext_evaluate (C:\Users\icaro\OneDrive\Documentos\Trabalho\Freela\WhatsApp Bomber\whatsappbomber-api\node_modules\puppeteer-core\src\common\ExecutionContext.ts:297:6) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at ExecutionContext.evaluate (C:\Users\icaro\OneDrive\Documentos\Trabalho\Freela\WhatsApp Bomber\whatsappbomber-api\node_modules\puppeteer-core\src\common\ExecutionContext.ts:137:12) at async Client.initialize (C:\Users\icaro\OneDrive\Documentos\Trabalho\Freela\WhatsApp Bomber\whatsappbomber-api\node_modules\whatsapp-web.js\src\Client.js:340:9)
Expected behavior
Start the application, save the session and run
Steps to Reproduce the Bug or Issue
Relevant Code
No response
Browser Type
Google Chrome
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Windows 11 Phone: Android 14 (UI 6.1) Whatsapp-web.js Version: 1.24.0 Node.js version: 18.17.1
Additional context
No response