-
Notifications
You must be signed in to change notification settings - Fork 843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New error #336
Comments
Which version are you using? |
Alguma solução? estou tento o mesmo problema!! :( /Users/guilhermemelo/Codes/CoinNodes/chatbot/node_modules/whatsapp-web.js/src/webCache/LocalWebCache.js:34 TypeError: Cannot read properties of null (reading '1') Node.js v20.12.0 |
need to change the "whatsapp-web.js": "https://github.com/Julzk/whatsapp-web.js/tarball/jkr_hotfix_7" to "whatsapp-web.js": "https://github.com/Julzk/whatsapp-web.js/tarball/jkr_hotfix_11" in package.json |
|
Still giving me the error after scanning the QR Code, `E:\Temp\whatsapp-chatgpt\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221 Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') Node.js v18.18.0` |
Yeah still not working for me either after the update.. |
Did you update? |
Yes, I did. |
what's the verison of whatsapp-webjs |
So I ran and it updated to version": "1.22.1" |
Try updating puppeteer aslo |
Are you running linux/dockeR? |
No, simple Windows 10. |
Tried updating pupetter? waht's ypour node verison? |
Did you run 'npm install' after changing to the new version? The issue is definitely related to the version of web.js. |
My JSON looks like this after the npm update and npm install: |
doing this step:
I solve this error -> const version = indexHtml.match(/manifest-([\d\.]+).json/)[1]; but its raise a new puppetter error - > throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails)); Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'push') Has anyone managed to get the application to work? |
npm install github:pedroslopez/whatsapp-web.js#webpack-exodus |
The best aswer... works for me!! |
I will just drop my debugging steps here.
|
github:pedroslopez/whatsapp-web.js#webpack-exodus está fora, como fazer agora? |
C:\Users\Administrator\Desktop\a\whatsapp-chatgpt-master\node_modules\whatsapp-web.js\src\webCache\LocalWebCache.js:34
const version = indexHtml.match(/manifest-([\d\.]+).json/)[1];
^
TypeError: Cannot read properties of null (reading '1')
at LocalWebCache.persist (C:\Users\Administrator\Desktop\a\whatsapp-chatgpt-master\node_modules\whatsapp-web.js\src\webCache\LocalWebCache.js:34:69)
at C:\Users\Administrator\Desktop\a\whatsapp-chatgpt-master\node_modules\whatsapp-web.js\src\Client.js:729:36
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v18.17.0
The text was updated successfully, but these errors were encountered: