I get the following error when I create the same instance the second time after shutting it down
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
Any fix? I have been facing this error for sometime now and i am worried it will show up in prod
Same here, not sure if I'm holding it wrong or is it an issue with pglite.
@piyushagarwal73 Thank you for the bug report. Could you please make a minimal reproducible example, that would save a lot of time.