Open scillidan opened 1 week ago
Seemed to be same issue with https://github.com/microsoft/playwright/issues/23633 . Can you try to run npx playwright install --with-deps
before the launching of vivliostyle-cli?
Returned this time:
[[17:59:02.156] Running build in Washington, D.C., USA (East) – iad1
[17:59:02.271] Cloning github.com/scillidan/PAGES (Branch: main, Commit: ed50b1c)
[17:59:02.279] Skipping build cache, deployment was triggered without cache.
[17:59:03.090] Cloning completed: 818.374ms
[17:59:03.399] Running "vercel build"
[17:59:03.804] Vercel CLI 37.8.0
[17:59:04.414] Running "install" command: `npm install -g @vivliostyle/cli && npx playwright install --with-deps`...
[17:59:22.021] npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
[17:59:22.080] npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
[17:59:22.542] npm warn deprecated trim@0.0.1: Use String.prototype.trim() instead
[17:59:22.924] npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
[17:59:22.955] npm warn deprecated read-package-json@6.0.4: This package is no longer supported. Please use @npmcli/package-json instead.
[17:59:23.148] npm warn deprecated are-we-there-yet@4.0.2: This package is no longer supported.
[17:59:23.211] npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
[17:59:23.212] npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
[17:59:23.213] npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
[17:59:23.549] npm warn deprecated gauge@5.0.2: This package is no longer supported.
[17:59:23.949] npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
[17:59:24.006] npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
[17:59:24.481] npm warn deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
[17:59:24.510] npm warn deprecated domexception@4.0.0: Use your platform's native DOMException instead
[17:59:24.512] npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
[17:59:24.549] npm warn deprecated npmlog@6.0.2: This package is no longer supported.
[17:59:24.549] npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
[17:59:24.630] npm warn deprecated npmlog@7.0.1: This package is no longer supported.
[17:59:24.816] npm warn deprecated gauge@4.0.4: This package is no longer supported.
[17:59:26.545]
[17:59:26.545] added 712 packages in 22s
[17:59:26.546]
[17:59:26.546] 190 packages are looking for funding
[17:59:26.546] run `npm fund` for details
[17:59:27.930] npm warn exec The following package was not found and will be installed: playwright@1.48.1
[17:59:29.359] ╔═══════════════════════════════════════════════════════════════════════════════╗
[17:59:29.359] ║ WARNING: It looks like you are running 'npx playwright install' without first ║
[17:59:29.360] ║ installing your project's dependencies. ║
[17:59:29.360] ║ ║
[17:59:29.360] ║ To avoid unexpected behavior, please install your dependencies first, and ║
[17:59:29.360] ║ then run Playwright's install command: ║
[17:59:29.360] ║ ║
[17:59:29.360] ║ npm install ║
[17:59:29.360] ║ npx playwright install ║
[17:59:29.360] ║ ║
[17:59:29.360] ║ If your project does not yet depend on Playwright, first install the ║
[17:59:29.360] ║ applicable npm package (most commonly @playwright/test), and ║
[17:59:29.360] ║ then run Playwright's install command to download the browsers: ║
[17:59:29.360] ║ ║
[17:59:29.360] ║ npm install @playwright/test ║
[17:59:29.360] ║ npx playwright install ║
[17:59:29.360] ║ ║
[17:59:29.360] ╚═══════════════════════════════════════════════════════════════════════════════╝
[17:59:29.360] BEWARE: your OS is not officially supported by Playwright; installing dependencies for ubuntu20.04-x64 as a fallback.
[17:59:29.361] Installing dependencies...
[17:59:29.367] sh: apt-get: command not found
[17:59:29.368] Failed to install browsers
[17:59:29.368] Error: Installation process exited with code: 127
[17:59:29.395] Error: Command "npm install -g @vivliostyle/cli && npx playwright install --with-deps" exited with 1
[17:59:29.597]
But I can't run apt-get
on Vercel. It seems that we need to wait for Vercel's repair. Not be vivliostyle-cli's problem.
Node.js Version: 22.x
I remember in June, it didn't report any errors 🤔