playwright-community/playwright-go

[Bug]: Host system is missing dependencies to run browsers - on Ubuntu 24.04

naimsulejmani opened this issue · 2 comments

2024/05/09 23:57:14 Downloading browsers...
Playwright Host validation warning: 
╔══════════════════════════════════════════════════════╗
║ Host system is missing dependencies to run browsers. ║
║ Missing libraries:                                   ║
║     libicudata.so.70                                 ║
║     libicui18n.so.70                                 ║
║     libicuuc.so.70                                   ║
║     libvpx.so.7                                      ║
╚══════════════════════════════════════════════════════╝
    at validateDependenciesLinux (/home/naimsulejmani/.cache/ms-playwright-go/1.42.1/package/lib/server/registry/dependencies.js:216:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Registry._validateHostRequirements (/home/naimsulejmani/.cache/ms-playwright-go/1.42.1/package/lib/server/registry/index.js:627:43)
    at async Registry._validateHostRequirementsForExecutableIfNeeded (/home/naimsulejmani/.cache/ms-playwright-go/1.42.1/package/lib/server/registry/index.js:725:7)
    at async Registry.validateHostRequirementsForExecutablesIfNeeded (/home/naimsulejmani/.cache/ms-playwright-go/1.42.1/package/lib/server/registry/index.js:714:43)
    at async t.<anonymous> (/home/naimsulejmani/.cache/ms-playwright-go/1.42.1/package/lib/cli/program.js:119:7)
2024/05/09 23:57:15 Downloaded browsers successfully

Recently, I upgraded my Ubuntu to the latest version, 24.04, and now my Go project is failing due to missing libraries as mention above. Are there any plans for a quick fix to address this issue?

Depend on upstream: microsoft/playwright#30368

Solved in #472 (v0.4501.0)