DEV Community

Discussion on: Running headless Chromium in Azure Functions with Puppeteer and Playwright

Collapse
 
akhilkrishna11 profile image
Akhil krishna

Hi @ronkot , Did you get any solution for this? Please help me out. I am also facing this issue. Please have a look on the below error.

An unexpected error : { browserType.launch: Failed to launch: Error: spawn /home/site/wwwroot/node_modules/playwright-core/.local-browsers/chromium-930007/chrome-linux/chrome EACCES

Collapse
 
ronkot profile image
Jaakko Juvonen • Edited

Unfortunately I couldn't fix the issue. Finally I just gave up using playwright. I'd liked to use Playwright to print html page to pdf, but I refactored my system to use a distinct js-only mechanism to generate PDFs using pdfmake.