Problems with building the project in turborepo

My project was already working, with all the features that are currently in the project, including content-collections, used in legal pages and blog, when I added configuration for prisms, coincidentally or not, it started to give problems in the build related to content-collections, I don’t understand why, I really need help.

Highlighting that as there was a problem with the build, I did a rollback to the last valid version of the build, my application is functional, but I need this build with the Prisma configurations working in production, as I will use Prisma with Supabase.

I have two accounts at Vercel, but the project in question is in the account dioggosoares35, project AstraInvest, https://astrainvest.vercel.app, Login – Vercel

Thanks for help.

Diogo

Without digging into the logs yet, my first thought is a remote caching or build cache issue

Make sense, how do I clear this cache?

the problem was NODE_ENV, I wasn’t using it in the application for anything, and in the deploy it was defined as “production”, so the dev deps weren’t installed, which makes sense, but it generated this deploy problem, I removed this env and everything was resolved.

Thanks

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.