uptime-kuma: playwright failed to install on FreeBSD
⚠️ Please verify that this bug has NOT been raised before.
- I checked and didn’t find similar issue
🛡️ Security Policy
- I agree to have read this project Security Policy
Description
I am running the custom install on freebsd. It installed fine about a month ago, but I’m just recently installed it again. When i run the node server.js command, i get the below error.
Error: Unsupported platform: freebsd at /usr/local/uptime-kuma/node_modules/playwright-core/lib/server/registry/index.js:258:388 at Object.<anonymous> (/usr/local/uptime-kuma/node_modules/playwright-core/lib/server/registry/index.js:270:3) at Module._compile (node:internal/modules/cjs/loader:1254:14) at Module._extensions…js (node:internal/modules/cjs/loader:1308:10) at Module.load (node:internal/modules/cjs/loader:1117:32) at Module._load (node:internal/modules/cjs/loader:958:12) at Module.require (node:internal/modules/cjs/loader:1141:19) at require (node:internal/modules/cjs/helpers:110:18) at Object.<anonymous> (/usr/local/uptime-kuma/node_modules/playwright-core/lib/server/index.js:84:17) at Module._compile (node:internal/modules/cjs/loader:1254:14)
👟 Reproduction steps
Install using the custom install commands on the uptimekuma github page, then try to run the node command.
👀 Expected behavior
I expect uptime kuma to run without errors.
😓 Actual Behavior
It errors out with “Unsupported platform. FreeBSD”
🐻 Uptime-Kuma Version
Unknown.
💻 Operating System and Arch
FreeBSD 13.2 Jail
🌐 Browser
Brave
🐋 Docker Version
N/A
🟩 NodeJS Version
18.16.0
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Reactions: 1
- Comments: 33 (1 by maintainers)
Checked their source code, it should be able to skip the error by the env var
PLAYWRIGHT_BROWSERS_PATH.https://github.com/microsoft/playwright/blob/9fe037fb63a87844e94bc4111d1a0717b22f4623/packages/playwright-core/src/server/registry/index.ts#L280-L299
Closing. 1.22.0 works on FreeBSD.
1.23.0 doesn’t as of August 23/2023.