Tacoboi99
TTCTheo's Typesafe Cult
•Created by Tacoboi99 on 10/27/2023 in #questions
Run build error
Hi could someone hop in a call with me and help me out with a getstaticprops problem. trying to get my portfolio done so i can apply for internships.
this is the error when i npm run build,
Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:14062:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async fetchPageInfo (C:\Users\Nando\Documents\Fernando_Portfolio\portfolio\my-portfolio.next\server\pages\index.js:949:17)
at async getStaticProps (C:\Users\Nando\Documents\Fernando_Portfolio\portfolio\my-portfolio.next\server\pages\index.js:922:22)
47 replies
TTCTheo's Typesafe Cult
•Created by Tacoboi99 on 10/11/2023 in #questions
Best praxis for image storage
Hi again! my group at school are doing a ecommerce site as our last project before we start looking for internships. I was wondering what is the best way to store product images? is it better to store images in some third party cloud storage like cloudflare or firebase (i dont know if that is even possible) or do i just create another table in our sql db and link it to the products table?
6 replies
TTCTheo's Typesafe Cult
•Created by Tacoboi99 on 10/10/2023 in #questions
Hi! How to not render header component on register and log in page.
I have put my <Header/> component in my _app.tsx under my SessionProvider. But relise now that i dont want my header to show in register and login page. Where do i place my header or do i create some sort of function. Thanks!
6 replies