#Error Evaluation failed TypeError Cannot read properties of undefined (reading 'default')

39 messages · Page 1 of 1 (latest)

tall wagon
#

I've restarted my project today and i've got this error : Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default')

glacial shale
tall wagon
#

Have a branch with the solution?

tall wagon
#

isn't the official repository

glacial shale
#

No.. there is a open PR with the solution waiting for approval

tall wagon
#

@sour schooner @wind sonnet any news about it?

#

@glacial shale i'm testing to see what happens

craggy light
#

I'm getting this now after restarting my instance 🤔

Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'createWid')
#

Not sure if it's related to the above issues?

#

Nevermind, just needed reauth 🤦‍♂️

vapid apex
#

it is working but i have to scan QR always. It is not storing

swift tartan
#

Thanks I also had this issue and your code fixed it for me.

#

For any others if you want this before it gets merged in, you can put this in your package.json and reinstall dependencies:

#
"whatsapp-web.js": "git://github.com/mrfelipemartins/whatsapp-web.js.git#fix-group-module"
reef quartz
#

For me this solution is not working in all clients

glacial shale
#

Wym?

#

All clients are in same version?

reef quartz
#

Yes, I believe there is something wrong with the wwjs instance object

reef quartz
#

I'm trying to figure it out

pliant herald
# glacial shale No.. there is a open PR with the solution waiting for approval

Hi, I found an issue on your solution 😦

I updated the github PR with a note, i'm trying to fix this but not easy for me to do this, maybe you would know how to fix this :

https://github.com/pedroslopez/whatsapp-web.js/pull/1789#pullrequestreview-1178157590

GitHub

PR Details
This fixes GroupMetadata Modules in new version 2.2243.7
Description
This will fix current errors in new WhatsApp Web Version since the GroupMetadata module was not being found with prev...

glacial shale
quiet stone
#

ooh my program error a few hours ago...

last silo
#

I have this error. How i can solve it ?

sour schooner
#

new release #announcements

pliant herald
vapid apex
weak pebble
craggy light
# weak pebble it didn't work for me

It seems to happen when the authentication session has ended, I just deleted the .auth folder, restart the instance and login again - I think this worked, it could’ve been something else though 😂

weak pebble
#

😦

sour schooner
#

.

#

Anywhere I can help?

wild anvil
#

hello there, now I am facing the same issue.
node version: v20.15.0
Whatsapp-web-js version: 1.24.0
npm version: 10.7.0
Everytime I have finished scan the QR code it always throw: "
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default')
at pptr://puppeteer_evaluation_script:5:95"
I have tried @glacial shale method and still not work
Anyone can help me with this?