报错如下:
node server/server.js
Welcome to Uptime Kuma
Your Node.js version: 16.20.2
2024-03-19T11:38:41+01:00 [SERVER] INFO: Welcome to Uptime Kuma
2024-03-19T11:38:41+01:00 [SERVER] INFO: Node Env: production
2024-03-19T11:38:41+01:00 [SERVER] INFO: Inside Container: false
2024-03-19T11:38:41+01:00 [SERVER] INFO: Importing Node libraries
2024-03-19T11:38:41+01:00 [SERVER] INFO: Importing 3rd-party libraries
/usr/home/aurorax-neo/domains/uptime-kuma/node_modules/playwright-core/lib/server/registry/index.js:258
if (process.platform === 'linux') cacheDirectory = process.env.XDG_CACHE_HOME || _path.default.join(os.homedir(), '.cache');else if (process.platform === 'darwin') cacheDirectory = _path.default.join(os.homedir(), 'Library', 'Caches');else if (process.platform === 'win32') cacheDirectory = process.env.LOCALAPPDATA || _path.default.join(os.homedir(), 'AppData', 'Local');else throw new Error('Unsupported platform: ' + process.platform);
^
Error: Unsupported platform: freebsd
at /usr/home/aurorax-neo/domains/uptime-kuma/node_modules/playwright-core/lib/server/registry/index.js:258:388
at Object.<anonymous> (/usr/home/aurorax-neo/domains/uptime-kuma/node_modules/playwright-core/lib/server/registry/index.js:270:3)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at Module.require (node:internal/modules/cjs/loader:1100:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (/usr/home/aurorax-neo/domains/uptime-kuma/node_modules/playwright-core/lib/server/index.js:84:17)
at Module._compile (node:internal/modules/cjs/loader:1198:14)