Closed bhaktatejas922 closed 8 months ago
"@sparticuz/chromium": "^123.0.0", "puppeteer-core": "^22.6.1",
Node.js Version:
Lambda / GCF Runtime: EACCES: permission denied, stat '/root/.config/puppeteer'
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(), }, );
seems like a puppeteer issue?
Environment
Node.js Version:
Lambda / GCF Runtime: EACCES: permission denied, stat '/root/.config/puppeteer'
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(), }, );