I am using Next.js with Vercel PostgreSQL. I have connected my project to Vercel PostgreSQL. It works fine in production but I encounter errors in development.
Previously, I was facing issues while testing locally. However, after deploying it, the project is functioning properly in production without any problems. Unfortunately, I am still facing errors during local development, which are depicted in the attached images. Please note that I have imported the environment variables into the local setup and linked the project properly.I've tried installing node_modules again as well.

