Sparticuz / chromium

Chromium (x86-64) for Serverless Platforms
MIT License
1.03k stars 71 forks source link

[BUG] AWS Amplify - NextJS - EACCES permission denied root/.config/puppeteer #251

Closed bhaktatejas922 closed 8 months ago

bhaktatejas922 commented 8 months ago

Environment

"@sparticuz/chromium": "^123.0.0",
"puppeteer-core": "^22.6.1",

const browser = await puppeteer.launch( process.env.NODE_ENV === 'production' ? { args: chromium.args, defaultViewport: chromium.defaultViewport, executablePath: await chromium.executablePath(), headless: chromium.headless, ignoreHTTPSErrors: true, } : { headless: false, executablePath: executablePath(), }, );

Sparticuz commented 8 months ago

seems like a puppeteer issue?