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.
Even if I run
npx playwright install
as instructed ornpx playwright install --with-deps chromium
mentioned in the README, the error persists.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.
https://github.com/remcohaszing/mermaid-isomorphic/issues/4 https://github.com/remcohaszing/mermaid-isomorphic/commit/fee3629efd4dc2ea1c599f0fd82b620c1896983c