Question about this DynamicServerError instance
Unanswered
Alaskan Husky posted this in #help-forum
Alaskan HuskyOP
From reading the docs, it doesn't seem that this should raise an error. Plus, my build does not fail, it just raises the Sentry error.
Did I miss anything?
Not sure if it's related but this started happening immediately after I removed
Thanks!
https://nextjs.org/docs/messages/dynamic-server-error
Did I miss anything?
Not sure if it's related but this started happening immediately after I removed
pageExtensions from my next.config.jsThanks!
https://nextjs.org/docs/messages/dynamic-server-error
3 Replies
@Alaskan Husky From reading the docs, it doesn't seem that this should raise an error. Plus, my build does not fail, it just raises the Sentry error.
Did I miss anything?
Not sure if it's related but this started happening immediately after I removed `pageExtensions` from my next.config.js
Thanks!
https://nextjs.org/docs/messages/dynamic-server-error
Weird. If its not a build error then is the error somehow propogating :/.
As the docs say, using a dynamic function throws that error which then gets caught to opt the file into dynamic rendering
As the docs say, using a dynamic function throws that error which then gets caught to opt the file into dynamic rendering
Btw i didnt ask the nextjs version but are you on the latest version?
@Clown Btw i didnt ask the nextjs version but are you on the latest version?
Alaskan HuskyOP
yes, 14.0.1