I am getting these errors while deploying my project on Vercel

30 views Asked by At

TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11372:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async global This fetch (/Versel/path0/.next/server/chunks/638.js:1:36426) at async _ (/Versel/path0/.next/server/app/page.js:1:157951) at async I (/Versel/path0/.next/server/app/page.js:1:158482) { cause: Error: connect ECONNREFUSED 127.0.0.1:3000 at TCP Connect Wrap after Connect [as on complete] (node:net:1555:16) at TCP Connect Wrap callback Trampoline (node:internal/async_hooks:130:17) { error no: -111, code: 'ECONNREFUSED', sys call: 'connect', address: '127.0.0.1', port: 3000your text }your text` } TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11372:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async globalThis.fetch (/Versel/path0/.next/server/chunks/638.js:1:36426) at async _ (/Versel/path0/.next/server/app/page.js:1:157951) at async I (/Versel/path0/.next/server/app/page.js:1:158482) { cause: Error: connect ECONNREFUSED 127.0.0.1:3000 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) { err no: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 3000 } } Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11372:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async globalThis.fetch (/vercel/path0/.next/server/chunks/638.js:1:36426) at async _ (/vercel/path0/.next/server/app/page.js:1:157951) at async I (/vercel/path0/.next/server/app/page.js:1:158482)

# [.env file code[fetching api[sanity studio](https://i.stack.imgur.com/eKxxw.png)]       (https://i.stack.imgur.com/qqlAV.png)](https://i.stack.imgur.com/lB0hE.png)

i am using the sanity for content management system and typescript for static typing.`

0

There are 0 answers