T
TanStack3mo ago
modern-teal

Vercel build error

Does anyone know why vercel gives this build error? I am using the version 1.121.29 and everything works fine locally
No description
8 Replies
complex-teal
complex-teal3mo ago
try redeploying without the vercel build cache
modern-teal
modern-tealOP3mo ago
did that too but not working here is the log
modern-teal
modern-tealOP3mo ago
Found the problem When i add NODE_ENV=production it gives the build error works when i remove that
complex-teal
complex-teal3mo ago
does this maybe not install dev deps?
modern-teal
modern-tealOP3mo ago
I dont know much but this is my package.json
complex-teal
complex-teal3mo ago
Dependencies from package.json are missing after install
Understand why dependencies may not being installed during a build and how to fix.
modern-teal
modern-tealOP3mo ago
Yes this helps a lot Thank you very much
optimistic-gold
optimistic-gold2mo ago
i have the same issue its seems weird we have to set production to false

Did you find this page helpful?