Error to build node server with playwright

Does someone know how to fix this error?

I also added a command to install playwright on settings of my project

Hi there,

This seems like a similar issue that we get with Puppeteer in that the location where Playwrite installs its browsers is not in a location that is stored in our cache and is restored on subsequent builds.

Can you please set PLAYWRIGHT_BROWSERS_PATH to /opt/render/project/.cache/playwright as an environment variable on our dashboard. After doing this you will need to a manual deployment with out cache.

Regards,

Keith
Render Support, UTC+10 :australia:

1 Like

Omg I think it worked, thank you so much Keith :+1: :+1: :+1: