electric-sql / electric-sql/pglite

Failed to execute 'fetch' on 'WorkerGlobalScope' when using web worker

Open
#792 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
16k
Forks
442
Avg merge
20h 19m
Merged PRs (30d)
7

Description

I'm trying to convert my pglite implementation to use a web worker by following https://pglite.dev/docs/multi-tab-worker and https://github.com/LeonAlvarez/ElectroDrizzle. However, even when following the instructions on the links above, I keep on running into the following error:

```
TypeError: Failed to execute 'fetch' on 'WorkerGlobalScope': Failed to parse URL from /_next/static/media/pglite.ef93c2b2.data
```

Digging into it a bit, I think the issue is that it's looking for `release/pglite.wasm` and `release/pglite.data`, but they don't exist. How can I fix this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.