blomqma/next-rest-framework

fix: Next REST Framework encountered an error: Error: Dynamic server usage: Page couldn't be rendered statically because it used `headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error

Closed this issue · 2 comments

When I run next build, a error happend, but Next build success:

image

Anything I can do with it?

This is a known issue that I was able to reproduce recently, trying to get it fixed ASAP

This should be fixed in v5.0.0, could you check if upgrading to that fixes your issue, thanks: https://github.com/blomqma/next-rest-framework/releases/tag/v5.0.0