- Install Deno 2 (I am currently using Deno 2.2.8)
- You need a Neon Postgres database with SSL enabled or any instance that you can use with
sslmode=require(Neon Postgres has a big free tier) - Run
deno task start:bug
This repository contains two files:
pg_bug.ts: This script will throw the errorTop-level await promise never resolvedpg_no_bug.ts: This script will not throw an error (run it withdeno task start:no-bug)