orkestral / venom

Venom is a high-performance system developed with JavaScript to create a bot for WhatsApp, support for creating any interaction, such as customer service, media sending, sentence recognition based on artificial intelligence and all types of design architecture for WhatsApp.
https://orkestral.io
Apache License 2.0
6.02k stars 1.17k forks source link

Inicialize Error #2075

Closed guh0rzd closed 1 year ago

guh0rzd commented 1 year ago

Description

Ao ligar o bot, 2 erros ocorrem, as vezes um, as vezes outro

Environment

Steps to Reproduce

Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'createWid') at window.WAPI.window.WAPI.startTyping (:1:55472) at pptr://puppeteer_evaluation_script:1:19 at ExecutionContext._ExecutionContext_evaluate (C:\Users\Gustavo\Desktop\bot wpp\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:286:1

----------------------------------------------------------------//--------------------------------------------------------------------------------- Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'isWidlike') at window.WAPI.window.WAPI.sendCheckType (C:\Users\Gustavo\Desktop\dalle-2\node_modules\venom-bot\dist\lib\wapi\wapi.js:1:32019) at window.WAPI.window.WAPI.sendExist (C:\Users\Gustavo\Desktop\dalle-2\node_modules\venom-bot\dist\lib\wapi\wapi.js:1:33582) at window.WAPI.window.WAPI.sendMessage (C:\Users\Gustavo\Desktop\dalle-2\node_modules\venom-bot\dist\lib\wapi\wapi.js:1:46138) at pptr://puppeteer_evaluation_script:2:29 at ExecutionContext._ExecutionContext_evaluate (C:\Users\Gustavo\Desktop\dalle-2\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:286:1

Additional context / Screenshot

image

github-actions[bot] commented 1 year ago

Thank you for joining our community, happy. We are currently fixing this bug, our new version will be released soon.

Working with Love!

nezzzumi commented 1 year ago

Same here.

guh0rzd commented 1 year ago

this is happening to me too

eu apaguei as pastas "package-lock.json" e "package.json", depois reinstalei o venom-bot, voltou a funcionar!

guh0rzd commented 1 year ago

Same here.

eu apaguei as pastas "package-lock.json" e "package.json", depois reinstalei o venom-bot, voltou a funcionar!