Does not work on ubuntu 22.04
Julink-eth opened this issue · 3 comments
Julink-eth commented
Describe the problem
I'm trying to run a dappeteer script on ubuntu 22.04, here is the script test.mjs:
import dappeteer from "@chainsafe/dappeteer";
import "dotenv/config";
async function main() {
const { metaMask, browser } = await dappeteer.bootstrap();
}
main();
I run the command
node tests.mjs
And I get the error Failed to launch both playwright and puppeteer
System:
- OS: Ubuntu
- OS 22.04
- NodeJs version v18.16.0
- dappeteer version 5.2.0
Julink-eth commented
Actually you just need to add puppeteer dependency in the package.json, could you guys add that to the readme ?
anajembaedwin commented
Hi. Is this an issue I can work on or it's just an observation? I can add puppeteer to the package.json if need be.
Julink-eth commented
I think adding puppeteer to the package.json would be helpful indeed!