pglite icon indicating copy to clipboard operation
pglite copied to clipboard

I get the following error when I create the same instance the second time after shutting it down

Open piyushagarwal73 opened this issue 3 months ago • 3 comments

RuntimeError: Aborted(). Build with -sASSERTIONS for more info. at abort (file:///Users/piyush//node_modules/.pnpm/@[email protected]/node_modules/@electric-sql/pglite/dist/index.js:1:79340) at __abort_js (file:///Users/piyush/node_modules/.pnpm/@[email protected]/node_modules/@electric-sql/pglite/dist/index.js:2:64809) at wasm://wasm/0223e172:wasm-function[11124]:0x5c947e at wasm://wasm/0223e172:wasm-function[9535]:0x5198e9 at wasm://wasm/0223e172:wasm-function[9531]:0x516d25 at wasm://wasm/0223e172:wasm-function[5153]:0x395f11 at wasm://wasm/0223e172:wasm-function[5170]:0x396eb9 at wasm://wasm/0223e172:wasm-function[1483]:0x10ead5 at wasm://wasm/0223e172:wasm-function[5235]:0x3a018e at wasm://wasm/0223e172:wasm-function[197]:0x73229 at Module._pgl_backend (file:///Users/piyush//node_modules/.pnpm/@[email protected]/node_modules/@electric-sql/pglite/dist/index.js:3:29217)

If I delete the folders created by pglite, it works once and then again the 2nd time it fails

piyushagarwal73 avatar Sep 15 '25 15:09 piyushagarwal73

Any fix? I have been facing this error for sometime now and i am worried it will show up in prod

RattyJhay avatar Oct 04 '25 13:10 RattyJhay

Same here, not sure if I'm holding it wrong or is it an issue with pglite.

hilja avatar Nov 04 '25 12:11 hilja

@piyushagarwal73 Thank you for the bug report. Could you please make a minimal reproducible example, that would save a lot of time.

tdrz avatar Nov 04 '25 13:11 tdrz