Closed Dev-AhmedSabry closed 3 years ago
Error: Could not find browser revision 809590. Run "PUPPETEER_PRODUCT=firefox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" to download a supported Firefox browser binary. Error: Could not find browser revision 809590. Run "PUPPETEER_PRODUCT=firefox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" to download a supported Firefox browser binary. at ChromeLauncher.launch (/home/BOT/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/node/Launcher.js:79:23) at async Client.initialize (/home/BOT/node_modules/whatsapp-web.js/src/Client.js:64:25) Error: Could not find browser revision 809590. Run "PUPPETEER_PRODUCT=firefox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" to download a supported Firefox browser binary. at ChromeLauncher.launch (/home/BOT/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/node/Launcher.js:79:23) at async Client.initialize (/home/BOT/node_modules/whatsapp-web.js/src/Client.js:64:25)
cat package.json { "name": "userbot", "version": "0.0.1", "description": "bot utilitario", "main": "userbot.js", "dependencies": { "@nlpjs/basic": "^4.14.4", "blessed": "^0.1.81", "blessed-contrib": "^4.8.20", "body-parser": "^1.19.0", "eventsource": "^1.0.7", "express": "^4.17.1", "fetch-base64": "^2.1.2", "glob": "^7.1.6", "puppeteer": "^3.3.0", "qrcode-terminal": "^0.12.0", "ssestream": "^1.1.0", "whatsapp-web.js": "^1.11.0" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "bot" ] }
Error: Could not find browser revision 809590. Run "PUPPETEER_PRODUCT=firefox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" to download a supported Firefox browser binary. Error: Could not find browser revision 809590. Run "PUPPETEER_PRODUCT=firefox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" to download a supported Firefox browser binary. at ChromeLauncher.launch (/home/BOT/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/node/Launcher.js:79:23) at async Client.initialize (/home/BOT/node_modules/whatsapp-web.js/src/Client.js:64:25) Error: Could not find browser revision 809590. Run "PUPPETEER_PRODUCT=firefox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" to download a supported Firefox browser binary. at ChromeLauncher.launch (/home/BOT/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/node/Launcher.js:79:23) at async Client.initialize (/home/BOT/node_modules/whatsapp-web.js/src/Client.js:64:25)
Using Node v15.0.1 and npm 7.0.3
it's working with me after using new whatsapp-web.js src folder and old node_modules folder till find the problem and solve it
it seems to be an issue with puppeteer, which i'm now upgrading from 3.3.0 to 5.4.1.
this is puppeteer problem since their support for firefox is on experimental step https://github.com/puppeteer/puppeteer#default-runtime-settings
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
after update to 1.11
Error: Could not find browser revision 809590. Run "PUPPETEER_PRODUCT=firefox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" to download a supported Firefox browser binary.