electric-sql / electric-sql/pglite-cloudflare-worker-example
Cannot read properties of undefined (reading 'startsWith')
- Dominant language
- TypeScript
- Stars
- 12
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
```
TypeError: Cannot read properties of undefined (reading 'startsWith')
at postgresMod_default
(file:///Users/maxm/go/src/github.com/maxmcd/do-pglite/node_modules/@electric-sql/pg-protocol/src/types.ts:9:72682)
at ue3.De
(file:///Users/maxm/go/src/github.com/maxmcd/do-pglite/node_modules/@electric-sql/pglite/src/parse.ts:371:22)
at async ue.create
(file:///Users/maxm/go/src/github.com/maxmcd/do-pglite/node_modules/@electric-sql/pglite/src/parse.ts:181:5)
at async Object.fetch
```
Trying this out today and it seems there are issues with the lack of `window.location` and maybe issues with `import.meta.url` being undefined.
Is Cloudflare support currently broken? Anything I can do to help out?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.