Expand my Community achievements bar.

SOLVED

Facing issues when including puppeteer in AEM ui.frontend module

Avatar

Level 2

Hi Team,

 

We are trying to integrate Puppeteer in ui.frontend module. Issues in resolving the puppeteer launch.

 

Does anyone faced similar challenge?

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

checkout these threads
https://stackoverflow.com/questions/69494700/puppeteer-launcher-error-results-with-undefined
https://stackoverflow.com/questions/72073215/puppeteer-launch-not-loading

 

It's also worth checking for any additional error messages or stack traces that may provide more specific information about the issue. Reviewing the Puppeteer documentation and troubleshooting guides can also provide insights into potential solutions for common problems.

https://pptr.dev/#?product=Puppeteer&version=v13.7.0&show=api-puppeteerlaunchoptions

 

View solution in original post

3 Replies

Avatar

Community Advisor

Hi @nagamtrisandhya ,

 

Could you please describe the issue and if possible share logs as well

Avatar

Level 2

Hi @MayurSatav ,

 

When we hit "npm run start" we see below error-

 

pupt.js:7 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'launch')

 

nagamtrisandhya_0-1685001258729.png

 

Thanks

 

Avatar

Correct answer by
Community Advisor

checkout these threads
https://stackoverflow.com/questions/69494700/puppeteer-launcher-error-results-with-undefined
https://stackoverflow.com/questions/72073215/puppeteer-launch-not-loading

 

It's also worth checking for any additional error messages or stack traces that may provide more specific information about the issue. Reviewing the Puppeteer documentation and troubleshooting guides can also provide insights into potential solutions for common problems.

https://pptr.dev/#?product=Puppeteer&version=v13.7.0&show=api-puppeteerlaunchoptions