Skip to content

[BUG] Can't run Playwright in Nix #5501

Closed

Description

Context:

  • Playwright Version: 1.8.0
  • Operating System: Linux
  • Node.js version: 12
  • Browser: All

Describe the bug

Running Playwright in Nix Shell throws missing dependencies error. Even after explicitly adding the missing dependencies suggested by "launch doctor", the same error is thrown.

Error: browserType.launch: Host system is missing dependencies!
--
  | Missing libraries we didn't find packages for:
  | libexpat.so.1
  | libxshmfence.so.1

Probably, I'm hitting this error from here. Nix has it's own ldconfig and it's not found in sbin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions