question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Error: Unsupported platform: freebsd

See original GitHub issue

Context:

  • Playwright Version: 1.8.0
  • Operating System: freebsd
  • Node.js version: 12.18.4

Describe the bug

It does not even install:

Error: Unsupported platform: freebsd

node_modules/playwright/lib/utils/browserPaths.js:133:11

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
OctoDcommented, Apr 7, 2021

@jsjoeio

I added these two lines to a global .npmrc to skip browsers install:

playwright_skip_browser_download=1
playwright_browsers_path=/nonexistent

I am using freebsd packages for the browsers, hope it will help.

1reaction
jsjoeiocommented, Apr 7, 2021

Awesome! Thanks so much! 🙏

Read more comments on GitHub >

github_iconTop Results From Across the Web

Only platforms with Tier 1 support can be upgraded by freebsd ...
What it really says: "While attempting to upgrade, something went wrong. It might be a networking problem, it might be a misconfiguration of ......
Read more >
Bug#669308: webkit: FTBFS[kfreebsd]: #error Unsupported Platform
Looks like that header just needs to test for __FreeBSD_kernel__ as well as __FreeBSD__, as in the attached diff. This seems to allow...
Read more >
Error saving auth token to system credential store
And received this error: Error reading auth token from system credential store: Unsupported platform: freebsd. Is it a different problem ...
Read more >
pampapam2 - bkimminich/juice-shop - Gitter
This is probably not a problem with npm. ... npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin" ...
Read more >
1375693 - gfx/vr/openvr/src/envvartools_public.cpp:29:2: error ...
Platform: Unspecified. FreeBSD. Type: defect ... error: "Unsupported Platform" #error "Unsupported Platform" ^ 2 errors generated.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found