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

I get an error that repeatedly asks me to install Playwright. #18

Closed
kght6123 opened this issue May 9, 2024 · 2 comments · Fixed by #19
Closed

I get an error that repeatedly asks me to install Playwright. #18

kght6123 opened this issue May 9, 2024 · 2 comments · Fixed by #19

Comments

@kght6123
Copy link
Contributor

kght6123 commented May 9, 2024

Even if I run npx playwright install as instructed or npx playwright install --with-deps chromium mentioned in the README, the error persists.

node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

browserType.launch: Executable doesn't exist at /Users/kght6123/Library/Caches/ms-playwright/chromium-1097/chrome-mac/Chromium.app/Contents/MacOS/Chromium
╔═════════════════════════════════════════════════════════════════════════╗
║ Looks like Playwright Test or Playwright was just installed or updated. ║
║ Please run the following command to download new browsers:              ║
║                                                                         ║
║     npx playwright install                                              ║
║                                                                         ║
║ <3 Playwright Team                                                      ║
╚═════════════════════════════════════════════════════════════════════════╝

Since the problem was solved with the content described in the issue of mermaid-isomorphic, I think that the README of rehype-mermaid should also be rewritten to the following command.

npx playwright-core install --with-deps chromium

remcohaszing/mermaid-isomorphic#4
remcohaszing/mermaid-isomorphic@fee3629

@remcohaszing
Copy link
Owner

You’re absolutely correct! Would you like to send a PR?

@kght6123
Copy link
Contributor Author

kght6123 commented May 9, 2024

@remcohaszing I created a pull request. #19

remcohaszing pushed a commit that referenced this issue May 9, 2024
Fix the Playwright installation command in the readme.

Closes #18
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

Successfully merging a pull request may close this issue.

2 participants