This post was published more than a year ago and may no longer reflect
current best practices.
Table of Contents
SQLite bindings
How to hopefully fix the SQLite bindings error
How to hopefully fix the SQLite Could not locate the bindings file error.
To check
- make sure python is installed
- make sure node-gyp is installed globally (
pnpm install -g node-gyp)
Fixes
Fix 1:
pnpm rebuild
pnpm approve-builds
Fix 2:
cd node_modules/better-sqlite3
pnpm run build-release
Related snippets
Random Turso stuff
Turso stuff that I don't know where to put