-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi Jordan,
I try to npm run build and I am getting following error:
▲ Next.js 14.0.3
web:build:
web:build: Creating an optimized production build ...
web:build: ✓ Compiled successfully
web:build: Linting and checking validity of types ...
web:build: Collecting page data ...
web:build: Generating static pages (0/6) ...
Generating static pages (1/6)
Generating static pages (2/6)
Generating static pages (4/6)
web:build: TypeError: fetch failed
web:build: at Object.fetch (node:internal/deps/undici/undici:11372:11)
web:build: at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
web:build: cause: Error: connect ECONNREFUSED 127.0.0.1:9991
web:build: at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
web:build: at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
web:build: errno: -111,
web:build: code: 'ECONNREFUSED',
web:build: syscall: 'connect',
web:build: address: '127.0.0.1',
web:build: port: 9991
web:build: }
web:build: }
web:build: TypeError: fetch failed
web:build: at Object.fetch (node:internal/deps/undici/undici:11372:11)
web:build: at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
web:build: cause: Error: connect ECONNREFUSED 127.0.0.1:9991
web:build: at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
web:build: at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
web:build: errno: -111,
web:build: code: 'ECONNREFUSED',
web:build: syscall: 'connect',
web:build: address: '127.0.0.1',
web:build: port: 9991
web:build: }
web:build: }
web:build:
web:build: Error occurred prerendering page "/countries". Read more: https://nextjs.org/docs/messages/prerender-error
web:build: TypeError: fetch failed
web:build: at Object.fetch (node:internal/deps/undici/undici:11372:11)
web:build: at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
✓ Generating static pages (6/6)
web:build:
web:build: > Export encountered errors on following paths:
web:build: /countries/page: /countries
web:build: npm ERR! Lifecycle script `build` failed with error:
web:build: npm ERR! Error: command failed
web:build: npm ERR! in workspace: web@0.1.0
It seems to be linked to the issue posted here:
vercel/next.js#54961 (comment)
Do you have the same issue on your side?
Cheers,
Tim
Metadata
Metadata
Assignees
Labels
No labels