---
date: "2024-03-16T10:15:01.000Z"
title: "2024-03-16"
tags: ["deno","sqlite","sqlite-vss"]
draft: false
---

I tried setting up `sqlite-vss` with Deno following [these instructions](https://github.com/asg017/sqlite-vss?tab=readme-ov-file#deno) but got stuck on this error

```sh
❯ deno task dev
Task dev deno run --allow-env --allow-read --allow-write --allow-net --unstable-ffi --allow-ffi --watch main.ts
Watcher Process started.
error: Uncaught (in promise) TypeError: readCstr is not a function
export const SQLITE_VERSION = readCstr(sqlite3_libversion());
                              ^
    at https://deno.land/x/sqlite3@0.8.0/src/database.ts:101:31
    at eventLoopTick (ext:core/01_core.js:169:7)
```

so I pivoted to Python. That effort eventually turned into this [post](/til/sqlite/sqlite-vss).