next-safe-middleware icon indicating copy to clipboard operation
next-safe-middleware copied to clipboard

NextJS 13.4.4 Internal server error

Open DubuWaMaji opened this issue 1 year ago • 2 comments

Hi.

I'm getting internal server error after upgrading to NextJS 13.4.4 (from 13.3.0). Removing "strictDynamic()" resolves internal server error. Anyone else had the same experience?

DubuWaMaji avatar Jun 06 '23 19:06 DubuWaMaji

This appears to be an abandoned project. @nibtime are you still maintaining this?

pgbradbury avatar Jun 21 '23 09:06 pgbradbury

@DubuWaMaji after a long debug it helped me to add this construction to next.config.js

const dns = require('dns');

dns.setDefaultResultOrder('ipv4first');

The problem is not in the lib (although it may be possible to fix it too), but in node.js

deivoff avatar Sep 01 '23 06:09 deivoff