Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Does not work on ubuntu 22.04 #342

Open
Julink-eth opened this issue Sep 4, 2023 · 3 comments
Open

Does not work on ubuntu 22.04 #342

Julink-eth opened this issue Sep 4, 2023 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@Julink-eth
Copy link

Julink-eth commented Sep 4, 2023

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 Julink-eth added the help wanted Extra attention is needed label Sep 4, 2023
@Julink-eth
Copy link
Author

Actually you just need to add puppeteer dependency in the package.json, could you guys add that to the readme ?

@anajembaedwin
Copy link

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
Copy link
Author

I think adding puppeteer to the package.json would be helpful indeed!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants