Cannot destructure property 'Agent' of 'workerdHttp' as it is undefined.
I'm trying to migrate from next-on-pages to opennextjs, and I'm getting this error when trying to preview the site but can't figure out what's actually causing it. Has anyone seen anything similar? Where should I be looking to debug? The stacktrace just shows a giant line of autogenerated code which isn't particularly helpful...

1 Reply
Apparently the problem was that I didn't have the "enable_nodejs_http_modules" compatibility flag enabled