We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The latest release has caused an issue with the postgres.js library.
node --import @swc-node/register/esm-register script.ts
node:internal/process/esm_loader:34 internalBinding('errors').triggerUncaughtException( ^ [Error: × Expected a semicolon ╭─[file:///home/user/github/project/node_modules/postgres/src/large.js:7:1] 4 │ return new Promise(async(resolve, reject) => { 5 │ await sql.begin(async sql => { 6 │ let finish 7 │ !oid && ([{ oid }] = await sql`select lo_creat(-1) as oid`) · ─── 8 │ const [{ fd }] = await sql`select lo_open(${ oid }, ${ mode }) as fd` 9 │ 10 │ const lo = { ╰──── Caused by: Syntax Error] { code: 'GenericFailure' }
Code snippet:
import postgres from 'postgres' const sql = postgres()
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description:
The latest release has caused an issue with the postgres.js library.
Steps to reproduce:
node --import @swc-node/register/esm-register script.ts
Environment:
Error log:
Code snippet:
The text was updated successfully, but these errors were encountered: