Hi,
I’m trying to deploy a simple node app with playwright on it, and i keep getting
“playwright: Permission denied render” on my build logs, and the build fails.
i have seen i’m not the first to run into this problem, but the previous solutions did not work for me
here is what i have done so far:
-
i added posinstall to my scripts in package.json - which caused another issue so I deleted it. (“postinstall”: “node node_modules/playwright/cli.js install chromium”)
-
I added a render-build.sh file in my directory:
set -e
apt-get update
apt-get install -y libnss3 libatk-bridge2.0-0 libxkbcommon-x11-0 libdrm2 libgbm1
npx playwright install chromium -
on Environment - PLAYWRIGHT_BROWSERS_PATH = /opt/render/project/.cache/playwright
is there anything else I can try?
Thanks!