Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prerendering page failing seemingly randomly #18

Open
jdoriocourt opened this issue Apr 11, 2023 · 2 comments
Open

Prerendering page failing seemingly randomly #18

jdoriocourt opened this issue Apr 11, 2023 · 2 comments
Assignees

Comments

@jdoriocourt
Copy link

jdoriocourt commented Apr 11, 2023

I have been randomly getting odd errors when running npm run build that cause the build to fail but also don't force it to stop building. I can run the command again, and the build will complete successfully. It is always when pulling from Agility content servers, but the exact error message can differ. Here are some of the different error logs I've seen:

https://pastebin.com/pK8Ekzpb (linked because it's large)

Again, running the build command again sometimes fixes these issues. I already modified next.config.js to have staticPageGenerationTimeout set to 600. Do I need to increase this even more? Not sure what else I can do.

e: I set the timeout to 2147483 and still encounter the odd errors

@joelvarty
Copy link
Member

Hi John - is this issue resolved now?

@joelvarty joelvarty self-assigned this May 3, 2023
@jdoriocourt
Copy link
Author

I think the underlying problem still exists but I was able to workaround it by preventing dynamic content from being statically pre-compiled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants