You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux 5.15.153.1-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
Use the following index.ts and package.json files and run
bun build --compile --sourcemap ./index.ts --outfile executable && ./executable
index.ts
import{PGlite}from"@electric-sql/pglite";constdb=newPGlite();awaitdb.waitReady;constresult=awaitdb.query("select 'Hello world' as message;");console.log(result);awaitdb.close();
What version of Bun is running?
1.1.34+5e5e7c60f
What platform is your computer?
Linux 5.15.153.1-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
Use the following index.ts and package.json files and run
bun build --compile --sourcemap ./index.ts --outfile executable && ./executable
index.ts
package.json
What is the expected behavior?
The process runs successfully.
What do you see instead?
The process fails with error
Additional information
Opened electric-sql/pglite#414 (comment) to PgLite, seems that
/$bunfs/root/postgres.data
is a bun generated path and it is wrong.The text was updated successfully, but these errors were encountered: