I am trying to install Playwright on my Node.js server but I’m encountering an error stating that the executable doesn’t exist at the specified path. It works fine locally, but not on Vercel.
It says the following message (even though i ran that command already):
Error: browserType.launch: Executable doesn’t exist at /home/sbx_user1051/.cache/ms-playwright/chromium-1155/chrome-linux/chrome
╔═════════════════════════════════════════════════════════════════════════╗
║ Looks like Playwright Test or Playwright was just installed or updated. ║
║ Please run the following command to download new browsers: ║
║ ║
║ npx playwright install ║
║ ║
║ <3 Playwright Team ║
╚═════════════════════════════════════════════════════════════════════════╝
Has anyone successfully installed playwright on their node js server?
Thanks!