I created a new project in V0 and set up PostgreSQL using Drizzle. After completing the configuration, V0 does not enable the preview and displays the following message:
“V0 does not currently support the pg package.”
This issue prevents me from using PostgreSQL with Drizzle in my project.
Steps to Reproduce
Create a new project in V0.
Configure PostgreSQL with Drizzle.
Attempt to preview the project.
See the error message: “V0 does not currently support the pg package.”
Expected Behavior
I expected V0 to support PostgreSQL with Drizzle and allow the preview to work as expected.
Questions
Is there a workaround for this issue?
Does V0 plan to support the pg package soon?
Are there alternative ways to use Drizzle with PostgreSQL in V0?
v0 is mostly focused on frontend development as of today. It can make backend APIs or server actions but using complex backend integrations such as a Postgres DB is out of the scope right now.
Hello @anshumanb thank you for replying. Although the screenshot shows the database configuration file, this situation occurs in any project file. No preview works