Skip to content

Adds a short-circuit to prevent playwright install if OS is unsupported#13232

Open
weegeekps wants to merge 1 commit intomainfrom
weegeekps/fedora-fix
Open

Adds a short-circuit to prevent playwright install if OS is unsupported#13232
weegeekps wants to merge 1 commit intomainfrom
weegeekps/fedora-fix

Conversation

@weegeekps
Copy link
Contributor

@weegeekps weegeekps commented Feb 27, 2026

Description

Playwright is not fully supported on every operating system or even every Linux distribution. This is most noticeable within the Linux world, where outside of Debian and Ubuntu, it ranges from unsupported to partially supported.

What this does is adds a check to the prepare step in package.json to short circuit if being run on an unsupported system and quit before the playwright step.

I've had this locally on my Fedora system for a little while now and it has worked well.

Issue number and link

No issue.

Testing plan

Tested this out on Fedora by just running npm install which calls prepare.

I haven't tested it on Windows, macOS, or Ubuntu.

Author checklist

  • I have submitted a Contributor License Agreement
  • I have added my name to CONTRIBUTORS.md
  • I have updated CHANGES.md with a short summary of my change
  • I have added or updated unit tests to ensure consistent code coverage
  • I have updated the inline documentation, and included code examples where relevant
  • I have performed a self-review of my code

@github-actions
Copy link

Thank you for the pull request, @weegeekps!

✅ We can confirm we have a CLA on file for you.

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 this pull request may close these issues.

1 participant