Restarted static page generation for because it took more than 60 seconds
Unanswered
Thai posted this in #help-forum
ThaiOP
I am running a CI/CD on Github actions to publish a NextJS 14 project, I am getting errors like this:
The CI/CD on github actions takes about 30 mins before it finally fails. It has a ton of these errors for different routes. How do I fix this?
Restarted static page generation for /profile because it took more than 60 secondsThe CI/CD on github actions takes about 30 mins before it finally fails. It has a ton of these errors for different routes. How do I fix this?
1 Reply
ThaiOP
I have tried to disable the static generation with :
I have put this in every component/page and still getting the error.
export const dynamic = 'force-dynamic';I have put this in every component/page and still getting the error.