Current Behavior:
When deploying my Python web scraping project to Vercel, the deployment fails with this error: /var/task/playwright/driver/node: /lib64/libm.so.6: version 'GLIBC_2.27' not found (required by /var/task/playwright/driver/node)
Expected Behavior:
Playwright should run successfully in the Vercel serverless environment
Framework: Python
Using Playwright
Steps to Reproduce:
Python project with Playwright installed
Basic scraping function using Playwright
Deploy to Vercel
Error occurs during deployment
Is it possible to deploy a Python project that uses Playwright to vercel?
Sorry for the delayed response. I started from scratch and changed the Node.js version to 20.x and it gave me the error that “it looks like playwright was just installed, please run playwright install”. But to I’ve decided to go the docker container route of handling this issue. Thank you for the support.