Next.js Discord

Discord Forum

Build failed

Unanswered
Giant panda posted this in #help-forum
Open in Discord
Giant pandaOP
build keeps failing
js  Generating static pages (0/9)  [=   ]TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11730:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  cause: Error: connect ECONNREFUSED ::1:3000
      at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
      at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:128:17) {
    errno: -111,
    code: 'ECONNREFUSED',
    syscall: 'connect',
    address: '::1',
    port: 3000
  }
}
TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11730:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  cause: Error: connect ECONNREFUSED ::1:3000
      at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
      at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:128:17) {
    errno: -111,
    code: 'ECONNREFUSED',
    syscall: 'connect',
    address: '::1',
    port: 3000
  }
}

Error occurred prerendering page "/itinerary/view". Read more: https://nextjs.org/docs/messages/prerender-error
TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11730:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
 ✓ Generating static pages (9/9) 

> Export encountered errors on following paths:
        /itinerary/view/page: /itinerary/view
`

2 Replies

if you are really looking for answers, you might want to read this message: https://nextjs-forum.com/post/1138338531983491154#message-1138338531983491154
Giant pandaOP
if you are really looking for answers, you might want to read this message: ⁠help-forum⁠Help Forum Rules and Guidelines -- "No problem, I think I've fixed it on my own