-
-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: TRPCClientError: VercelPostgresError - 'invalid_connection_string': This connection string is meant to be used with a direct connection. Make sure to use a pooled connection string or try createClient()
instead.
#1103
Comments
Make sure your url follows the format of the example env, including the query param |
@juliusmarminge what about for database sources other than supabase I see the URL param is I fought through endless TS errors and got to a point where the
Will go ahead and create my own issue. |
Provide environment information
System:
OS: macOS 14.5
CPU: (10) arm64 Apple M2 Pro
Memory: 75.56 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.15.0/bin/yarn
npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm
pnpm: 9.5.0 - ~/.nvm/versions/node/v20.12.2/bin/pnpm
bun: 1.1.3 - ~/.bun/bin/bun
Watchman: 2024.04.08.00 - /opt/homebrew/bin/watchman
Describe the bug
Following the setup from the readme using a supabase database uri as the
POSTGRES_URL
in the .env , when runningpnpm dev
everything start no problem but then when visiting the client in localhost:3000 I get this error:The text was updated successfully, but these errors were encountered: