playwright does not support FreeBSD as a platform.
See original GitHub issueOS/Web Information
- Web Browser: Firefox 95.0
- Local OS: FreeBSD 13.0
- Remote OS: macOS 12.0.1
- Remote Architecture: amd64
code-server --version
: N/A
Steps to Reproduce
- cd code-server
-
Fix argon2 dependency to 0.28.2 to build.
- yarn global add $PWD
Expected
It should build.
Actual
— stderr —
error /usr/home/khng/.config/yarn/global/node_modules/code-server/test/node_modules/playwright: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /usr/home/khng/.config/yarn/global/node_modules/code-server/test/node_modules/playwright
Output:
/usr/home/khng/.config/yarn/global/node_modules/code-server/test/node_modules/playwright/lib/utils/registry.js:233
throw new Error('Unsupported platform: ' + process.platform);
Logs
Screenshot
Notes
This issue can be reproduced in VS Code: Yes/No
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Playwright vs DOH comparison of testing frameworks - Knapsack Pro
What are the differences between Playwright and DOH? Alternatives for testing frameworks in JavaScript.
Read more >PhantomJS vs Playwright | What are the differences?
Node library; Headless supported; Enables cross-browser web automation. PhantomJS and Playwright are both open source tools. PhantomJS with 27.4K GitHub stars ...
Read more >Chapter 23. Virtualization | FreeBSD Documentation Portal
Virtualization software allows multiple operating systems to run simultaneously on the same computer.
Read more >What DigitalOcean Learned When Adding FreeBSD Support
“It was the second-highest user-voiced request,” says Neal Shrader, Senior Software Engineer at DigitalOcean, discussing their move to ...
Read more >Use findChromiumChannel in Playwright Internal With Examples ...
Run Playwright Internal automation tests on LambdaTest cloud grid ... 'linux' || process.platform === 'freebsd') cacheDirectory = process.env.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That is only one of the problem, another one is actually mentioned above. I do want to know if it is safe to skip the test/ module as a temporary workarond.
EDIT: I noticed that
yarn/npm --production
should do the jobMy guess for that problem was that node-argon2 was only trying to enforce C++17 on Linux only. Here is the fix for this part: https://github.com/ranisalt/node-argon2/pull/332