Newbie question - NextJs Dashboard
Answered
Arboreal ant posted this in #help-forum
Arboreal antOP
Hello 👋,
I'm used to use Angular and I wanted to give React and NextJs a try for the first time with the dashboard tutorial.
Everything works fine (dev and local test) except the deployment on Vercel. 🤯
Could you please tell me what's causing the error and how to fix it? I've had a great time and can't figure out what's wrong.
I find the development phase very smooth but if I can't deploy what I made... it's an issue 🤨
Thank you very much for your help. ❤️
Error :
The full build log is attached.
Source : https://github.com/zenzen279/nextjs-dashboard
Also, if you have any NextJs / React tip, it would be amazing 🤩
Thank you again 🙏
I'm used to use Angular and I wanted to give React and NextJs a try for the first time with the dashboard tutorial.
Everything works fine (dev and local test) except the deployment on Vercel. 🤯
Could you please tell me what's causing the error and how to fix it? I've had a great time and can't figure out what's wrong.
I find the development phase very smooth but if I can't deploy what I made... it's an issue 🤨
Thank you very much for your help. ❤️
Error :
Error: ENOENT: no such file or directory, open '/vercel/path0/.next/server/app/login.rsc'
The full build log is attached.
Source : https://github.com/zenzen279/nextjs-dashboard
Also, if you have any NextJs / React tip, it would be amazing 🤩
Thank you again 🙏
Answered by Simon Knittel 🍹
I would try disabling PPR (next.config.mjs) as it's experimental and if that doesn't solve the issue, revert to using stable versions of Next.js and React (you are currently release candidates of the next major release).
11 Replies
Put your ui folder outside of app @Arboreal ant
Arboreal antOP
Ok thank you, I'll try 🙂
Did it work @Arboreal ant
Arboreal antOP
No 😦 I did it but no change.
I also added this line in tailwind config :S
I also added this line in tailwind config :S
Here the Vercel configuration 😮
Can you try local build
Arboreal antOP
It works without any error 😅
I would try disabling PPR (next.config.mjs) as it's experimental and if that doesn't solve the issue, revert to using stable versions of Next.js and React (you are currently release candidates of the next major release).
Answer
Arboreal antOP
Amazing ! Thank you to both of you. @Simon Knittel 🍹 you were right, it was the PPR option, it's deployed ❤️❤️❤️ Thanks
Awesome 🙂