DEV Community

Discussion on: Generate a PDF in AWS Lambda with NodeJS and Puppeteer

nikhil9gemini profile image
nikhil9-gemini • Edited on

Getting this following error in it:-
Error: Cannot find module '/home/nikhilsrivastva/Desktop/HR Onboarding/onboarding BE/hronboardingcodebase/services/certification/.webpack/service/apis/puppeteer/lib/Browser' at webpackContextResolve

Also, puppeteer/lib has no Browser file in it with the latest versions of puppeteer.
Someone can solve this issue?

akirautio profile image
Aki Rautio Author

It seems like there is something related to webpack. It would help out to understand what kind of setup you have to pinpoint you to right direction. :)