#Cannot read properties of undefined (reading 'push')

17 messages ยท Page 1 of 1 (latest)

shrewd remnant
#

Can someone help me to fix that?

#
(node:18636) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
LOADING SCREEN 0 WhatsApp
LOADING SCREEN 100 WhatsApp
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'push')
    at fillModuleArray (eval at <anonymous> (:2:5), <anonymous>:6:74)
    at moduleRaid (eval at <anonymous> (:2:5), <anonymous>:15:3)
    at pptr://__puppeteer_evaluation_script__:4:17
    at ExecutionContext._ExecutionContext_evaluate (C:\Users\meioa\Documents\Codigos\Node\wppbot\node_modules\puppeteer-core\src\common\ExecutionContext.ts:294:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async ExecutionContext.evaluate (C:\Users\meioa\Documents\Codigos\Node\wppbot\node_modules\puppeteer-core\src\common\ExecutionContext.ts:137:12)
    at async Client.initialize (C:\Users\meioa\Documents\Codigos\Node\wppbot\node_modules\whatsapp-web.js\src\Client.js:340:9)```
spice haven
#

use node 18.18.0

#

if possible use nvm for change node version

dusky coyote
#

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.

shrewd remnant
thick oxide
#

To receive help, please inform:

  1. Whatsapp-web.js lib version ๐Ÿ“š
  2. WhatsApp web version (client.getWwebVersion()) ๐ŸŒ,
  3. Using cache? ("none"/"local"/"remote") ๐Ÿ—„๏ธ
  4. Connecting business or normal account ๐Ÿข,
  5. Using Chrome or chromium ๐ŸŒ,
  6. Send the part of the code relevant to the error, if there is an error send an image of the error ๐Ÿ“ธ.
  7. If there is an error when starting, send the Client creation code.
shrewd remnant
#

When loaded, the error appears and can't recognize received messages or anything else

shrewd remnant
#

Idk what is Exodus

dusky coyote
#

The onky version working now, prepare to handle with version 2.30xx of WhatsApp Web

shrewd remnant
#

so can i uninstall the whatsapp-web.js lib?

dusky coyote
shrewd remnant