GoodHive / app

https://goodhive.vercel.app
0 stars 4 forks source link

Feature: Talent profile Public View Page and Refactoring #142

Closed sabbirrifat closed 9 months ago

sabbirrifat commented 10 months ago
vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 11, 2023 4:30pm
n1c01a5 commented 10 months ago

@sabbirrifat here is the build error :


Type error: Page "app/talents/[address]/page.tsx" does not match the required types of a Next.js Page.
--
21:36:34.555 | "getProfileData" is not a valid Page export field.
n1c01a5 commented 10 months ago

Here is the server functions error :

Function
/talents/[address].rsc
Location
Washington, D.C., USA (iad1)
Runtime
Node.js 18.x

TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11576:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  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) {
    errno: -111,
    code: 'ECONNREFUSED',
    syscall: 'connect',
    address: '127.0.0.1',
    port: 3000
  }
}

The request path Request Path /talents/undefined which is weird.

You have to set the good route on the Know more button.

n1c01a5 commented 10 months ago

@sabbirrifat remove the useless console.log.

The rest looks good.