© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•8mo ago•
1 reply
JustWayne

Warning '@neondatabase/serverless' can only connect to remote instance, but it works?

What is the point of this warning when the migrations are working when using
@neondatabase/serverless
@neondatabase/serverless
?

I was able to get rid of this warning for drizzle-kit by installing
pg
pg
but I'd rather not do that, even as a dev dependency, if I can help it.

The warning (src) conflicts with the advice given when no driver is installed (src):

To connect to Postgres database - please install either of 'pg', 'postgres', '@neondatabase/serverless'...

Main question:

Can I simply ignore this warning, since my migration is still working and if so what are the ramifications?

See also:

- https://github.com/drizzle-team/drizzle-orm/discussions/4723
- https://github.com/neondatabase/neon/discussions/12508
- https://www.answeroverflow.com/m/1238825489125081188
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

'@neondatabase/serverless' can only connect to remote Neon/Vercel Postgres/Supabase instances
Drizzle TeamDTDrizzle Team / help
2y ago
Drizzle-kit incorrectly defaulting to @neondatabase/serverless driver
Drizzle TeamDTDrizzle Team / help
10mo ago
How to get drizzle-kit to connect to local supabase via websockets with neondatabase/serverless to
Drizzle TeamDTDrizzle Team / help
12mo ago
drizzle-kit can't connect to Vercel postgres instance
Drizzle TeamDTDrizzle Team / help
2y ago