Zdl failed to launch the process

broken image

I tried upgrading chrome-aws-lambda and puppeteer-core version to 2.1.1 and even the latest 5.3.1 but no luck on resolving the issue.

broken image

Previously my code was running properly on nodejs8.10 supported AWS Lambda function but after forcefully upgrade to nodejs12.x, my code starts to throw this error. (/var/task/node_modules/puppeteer-core/lib/Launcher.js:537:65)Īt (domain.js:483:12)Īt (domain.js:483:12)Īt endReadableNT (_stream_readable.js:1220:12)Īt processTicksAndRejections (internal/process/task_queues.js:84:21) Steps to Reproduce const chromium = require('chrome-aws-lambda') Ĭonst puppeteer = require('puppeteer-core') Ĭonsole.log('Starting puppeteer browser.') Ĭonst browser = await ( created successfully`) tmp/chromium: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directoryĪt onClose (/var/task/node_modules/puppeteer-core/lib/Launcher.js:547:20)Īt Interface. Current BehaviorĮrror: Failed to launch the browser process!

broken image