Next.js deploys on Vercel errors
Answered
Schneider’s Smooth-fronted Caima… posted this in #help-forum
Schneider’s Smooth-fronted CaimanOP
Can anyone help with deploying Next.js on Vercel error issue?
I have modified path and configs but it keeps stuck at
Appreciate any helps!
I have modified path and configs but it keeps stuck at
./src/app/layout.tsx
Module not found: Can't resolve '../app/components/Header'Appreciate any helps!
Answered by Schneider’s Smooth-fronted Caiman
I moved the components folder to the src folder and it worked. Thank you!
4 Replies
Schneider’s Smooth-fronted CaimanOP
I had
@/app/components/Header before and that was an error too.@Schneider’s Smooth-fronted Caiman I had `@/app/components/Header` before and that was an error too.
what does your file structure look like?
Schneider’s Smooth-fronted CaimanOP
I moved the components folder to the src folder and it worked. Thank you!
Answer