Skip to content
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

Can not set up a demo project when first Run...F6 install chrome error #96

Open
BranceLee opened this issue Jun 23, 2021 · 1 comment
Open

Comments

@BranceLee
Copy link

BranceLee commented Jun 23, 2021

I download the version ver.3.2.5 version for MacOS, and when I start Run the Demo Project, and it shows that install the chrome, but then it installed failed and some minitute later I cancel the install, then I run the demo again, it shows on the bellow status.

Failed to run puppeteer.launch() with options
{
  "headless": true,
  "devtools": false,
  "slowMo": 30,
  "ignoreHTTPSErrors": false,
  "args": [
    ""
  ]
}

Could not find expected browser (chrome) locally. Run `npm install` to download the correct Chromium revision (869685).

And what should I do to solve this error although I delete the app it still gets this error.
The chrome or firefox on my Mac App is the latest version.

image
image

@dsheiko
Copy link
Owner

dsheiko commented Aug 12, 2021

Puppetry creates a directory with Jest project and install there NPM dependencies. If stopped the process you need to enter the created project directory, remove node_modules and allow Puppetry to reinstall them.

The directory can be found out like https://docs.puppetry.app/project#edit-project

To me it's on macOS:

~<USERNAME>/Library/Logs/.runtime-test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants