Why note this? PR’s CI checked failed as i skipped install dependency and update pnpm-lock file, so i must to install it and update pnpm-lock file to pass CI. PR’s details: https://github.com/originjs/vite-plugin-federation/pull/127
pnpm install playwright-chromium always pending like this:
firstname.lastname@example.org/node_modules/playwright-chromium: Running install script...
The solution is try to manual install
ffmpeg, the deitails: details：https://github.com/microsoft/playwright/blob/main/packages/playwright-chromium/install.js
The version’s info and install details pls check this file: https://github.com/microsoft/playwright/blob/main/packages/playwright-core/src/utils/registry.ts
download it directly
brew install ffmpeg
FYI: If you encounter such an error
tar: Error opening archive: Failed to open '/path/to/xxxx.tar.gz' # tar --extract --no-same-owner --file /path/to/xxxx.tar.gz --directory /private/tmp/yyyyy
export HOMEBREW_BOTTLE_DOMAIN='' and rerun
pnpm install playwright-chromium will be smoothly and worked.