Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Add details to generic error message 'unable to prerender all routes' #420

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fouronnes
Copy link

This is a common error message that lack any detail. This PR adds the available context information to the error output.
Googling "unable to prerender all routes" shows that this is a common problem users face.

Output before PR:

ERROR in [prerender-spa-plugin] Unable to prerender all routes!

Output with this PR:

ERROR in [prerender-spa-plugin] Unable to prerender all routes! TypeError: compilerFS.mkdirp is not a function

(example from this unrelated issue #414)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
1 participant