DEV Community

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

Collapse
 
nikhil9gemini profile image
nikhil9-gemini • Edited

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?

Collapse
 
akirautio profile image
Aki Rautio

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. :)