We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaaa019 commit a65a778Copy full SHA for a65a778
packages/next/src/server/lib/start-server.ts
@@ -287,7 +287,7 @@ export async function startServer({
287
handlersReady()
288
} else {
289
// when not using a worker start next in main process
290
- const { default: next } = require('../next') as typeof import('../next')
+ const next = require('../next') as typeof import('../next').default
291
const addr = server.address()
292
const app = next({
293
dir,
0 commit comments