10 Replies
Getting this weird error
Yeah I'm also facing this
@acronie What runtime you are using?
:animethink:
is it fixed?
@美味的小圓 @acronie sorry for tagging you
the issue was with runtime iirc
im using hono with node js, what are you using? @acronie
same, I meant driver for pg or whatever your db is
i know it is working fine when im using express instead of hono
yes im using pg
how you fix it?
here is my drizzle client code:
i was using mysql with express it is just working fine, now im trying hono with postgres got this error
I remembered that I just checked connection maybe?
:animethink:
Seems that this happened if it can’t connect to database
now it is working, im changing using
postgres-js
over node-postgres
, but what the differences between these, i don't really understand🤔 I don't understand either
I use Hono & Deno
No problemo after I checked database connection and env file reading again
:ThinkIn:
This is my code:
And use
deno run -A --env-file=.env main.ts
to make deno read .env
file when start up