studio dosnt connect, stuck on the launch screen, neon websock, then something about .pem file.
I’m getting the error of:
Also:
'@Neondatabase/serverless' can only connect to remote Neon/Vercel Postgres/Supabase instances through a websocket
What websocket?
There’s also a package mckat?
I installed the correct spelling
But nothing changed
11 Replies
👋 I have just launch a Neon db following https://orm.drizzle.team/docs/get-started-postgresql#neon-postgres and I am not able to reproduce.
I use
import { neon } from '@neondatabase/serverless';
as driver
My config:
I have launched studio with npx drizzle-kit studio
it seems you are using drizzle studio as a PWA right? would you mind to delete it and try from https://local.drizzle.studio/
?also you have to follow https://github.com/FiloSottile/mkcert?tab=readme-ov-file#macos for the cert issue
GitHub
GitHub - FiloSottile/mkcert: A simple zero-config tool to make loca...
A simple zero-config tool to make locally trusted development certificates with any names you'd like. - FiloSottile/mkcert
it's not a npm package, just an authority for self signed certificates like the one used by drizzle studio
Then
mkcert -install
and restart drizzle studio (npx drizzle-kit studio
)Is there npm version?
Where is the Config imported from?
I think that did it… there’s no error
I think that just worked, I haven’t tried the Mercer cat, but….idk how to install that
The official docs are wrong, this is about the 10th time errors I. Docs are wrong… and I’m blamed 😆
Oh it’s just a type from drizzle-kit
Mkcert and nss are not js packages 😬
How do I fix it?
Installing it like https://discord.com/channels/1043890932593987624/1261800215313121371/1262810645645234298
Then
mkcert -install
and restart drizzle studio (npx drizzle-kit studio
)
I did nothing more 🫣I don’t use brew, did it work for you? I just talked to someone from drizzle, he said it was a wrong version in the docs
Yes I use brew for many things (installing node and some other tools). Brew is like a npm but for native macos/linux cli-tools/apps
And yes it worked the first time for me 😦
#gateway is maybe the best solution in the future
Did you choose App router? Or Page dir?
I don’t use Nextjs 🫣