tursodatabase / tursodatabase/libsql-client-ts
access to local sqlite file
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 576
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
When I try to access to local sqlite file a get the error:
URL_SCHEME_NOT_SUPPORTED: The client that uses Web standard APIs supports only "libsql:", "wss:", "ws:", "https:" and "http:" URLs, got "file:". For more information, please read https://github.com/libsql/libsql-client-ts#supported-urls
I access exactly the same than is in the example: https://github.com/tursodatabase/libsql-client-ts/blob/main/examples/local/index.mjs#L3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with examples/local/index.mjs and reproduce the reported file: URL error using the documented example. Trace how the local SQLite URL is passed to the client and compare it with the supported URL schemes in the error and linked documentation. Done means the local example can access the SQLite file without the URL scheme error, with regression coverage if the repository provides a suitable test location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sqlite, typescript
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100