Unable to prerender all routes!
See original GitHub issueI’m getting this error randomly during my deploy build, I’m not sure why it’s doing this and can’t reproduce locally. And if I rebuild it works.
The main problem is that this is not stopping the build, it seems to exit with 0 and lets the build continue.
[prerender-spa-plugin] Unable to prerender all routes!
(node:2685) UnhandledPromiseRejectionWarning: Error: Navigation Timeout Exceeded: 30000ms exceeded
at Promise.then (/tmp/build_ec0aa5ea47759615bf77e08801798d3c/node_modules/puppeteer/lib/NavigatorWatcher.js:73:21)
at <anonymous>
(node:2685) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2685) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:19 (5 by maintainers)
Top Results From Across the Web
Unable to prerender all routes! · Issue #242 - GitHub
Unable to prerender all routes ! I'm using v3.3.0 with the latest PR from Tribex. I'm watching the routes come up in headless...
Read more >How to fix [prerender-spa-plugin] Unable to prerender all routes
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not...
Read more >ERROR [prerender-spa-plugin] - Unable to prerender all routes
I have encountered a problem in implementing the prerender-spa-plugin with Laravel 5.7 and Vue 2.6: Error: Child compilation failed: Entry ...
Read more >prerender-spa-plugin - Bountysource
[prerender-spa-plugin] Unable to prerender all routes! (node:2685) UnhandledPromiseRejectionWarning: Error: Navigation Timeout Exceeded: 30000ms exceeded at ...
Read more >How to prerender a Vuejs 3 application with Vue Cli? - Get Help
After that I try prerender-spa-plugin but I have an error wheh I make a npm run build : [prerender-spa-plugin] Unable to prerender all...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well, @Tribex this is solved for me… apparently one of the pages had an infinite loop which was causing the rendering to fail. Now its resolved. Thanks
I am also facing the same issue. My stack is build with VueJs and is up in AWS. I have a CICD system in place which does the build and its currently throwing this error -
I have tried several combination of configurations and none of them have worked so far.
@Tribex any idea how we can mitigate this issue?
Strangely enough the error still says
Exceeded: 30000ms
although I have usedtimeout: 60000