milk enjoyer
milk enjoyer12mo ago

Usage of playwright in Convex Node

Hey @ballingt it's me again, we spoke on email and you recommended playwright-aws-lambda for running playwright on "use node" convex actions. However, I can't see to get it to work as it keeps throwing the following error: Uncaught Error: Executable doesn't exist at /home/sbx_user1051/.cache/ms-playwright/chromium-1091/chrome-linux/chrome
5 Replies
ballingt
ballingt12mo ago
Bundling | Convex Developer Hub
Bundling is the process of gathering, optimizing and transpiling the JS/TS
milk enjoyer
milk enjoyerOP12mo ago
I tried it, now I am stuck at 500 Internal Server Error: InternalServerError: Your request couldn't be completed. Try again later. Failed due to network error, retrying in 430.6ms... This happens for both { "node": { "externalPackages": ["playwright-aws-lambda", "playwright-core"] } } and also { "node": { "externalPackages": ["*"] } } @ballingt
ballingt
ballingt12mo ago
Shoot, sorry for the suggestion that didn't work out here! I thought we had developers using this successfully. @milk enjoyer what time did you last see this error and what's your Convex deployment? You can DM too.
milk enjoyer
milk enjoyerOP12mo ago
@ballingt I'll DM you just tested again and still failed
ballingt
ballingt12mo ago
@milk enjoyer Following up on this, although it may have worked for some users (?) Playwright is not supported in either the Convex Node.js or normal actions environment. It seems like Vercel doesn't support this either for similar reasons.

Did you find this page helpful?