prerender-spa-plugin icon indicating copy to clipboard operation
prerender-spa-plugin copied to clipboard

Vue-cli-service build is hung up with PuppeteerRenderer

Open trialsNow opened this issue 5 years ago • 5 comments

The build shows no output and hung up is when I use PuppeteerRenderer. Can someone please help??

trialsNow avatar Sep 19 '19 15:09 trialsNow

Have you tried debugging with headless: false? Does Chrome open at all? More info needed.

Andras1000 avatar Sep 20 '19 15:09 Andras1000

Same issue, no in console. try with headless: false, and timeout settings and nothing, hang up " Building for production..."

goshander avatar Nov 20 '19 08:11 goshander

How are you handling the firing of the prerender process? By event, by time...?

JFGHT avatar Dec 02 '19 11:12 JFGHT

Stumbled on this problem. Set renderer options to renderAfterTime and it worked. Before that tried through renderAfterDocumentEvent. Generated file doesn't use injected window property. Seems like window['__PRERENDER_INJECTED'] is not a default place for inject's. But setting injectProperty also doesn't work. Will keep looking

tumoxep avatar Nov 06 '21 12:11 tumoxep

I'm having the same issue when using optimization and splitChunks in webpack with cache groups. It never seems to fire the document event. I remove cacheGroups and it works as expected.

owlyowl avatar Jan 04 '22 01:01 owlyowl