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

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