Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vercel] Fix browser installation #226

Open
gohoski opened this issue Jan 29, 2025 · 1 comment
Open

[Vercel] Fix browser installation #226

gohoski opened this issue Jan 29, 2025 · 1 comment

Comments

@gohoski
Copy link
Contributor

gohoski commented Jan 29, 2025

This is an issue to track the browser installation bugs found in the Vercel deployment.

When suno-api tries to spawn a browser on a Vercel deploy, an error occurs that is related to the difference between the runtime environment (to which suno-api has access) and the build environment (where Chromium gets installed).

error": "Error: pOST: Executable doesn't exist at /home/sbx_user1051/.cache/ms-playwright/chromium_headless_shell-1148/chrome-linux/headless_shell\n╔═════════════════════════════════════════════════════════════════════════╗\n║ Looks like Playwright Test or Playwright was just installed or updated. ║\n║ Please run the following command to download new browsers:              ║\n║                                                                         ║\n║     npx playwright install                                              ║\n║                                                                         ║\n║ <3 Playwright Team                                                      ║\n╚═════════════════════════════════════════════════════════════════════════╝"

@artokun said in #222 (comment) that he has a working Chromium Vercel deployment and I'm currently waiting for him to fix this.

Credits to @jonico for letting me know about this problem.

@artokun
Copy link

artokun commented Jan 29, 2025

I'll try to get a proposal up tonight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants