I updated sqlite3 to verse 5.1.5 due to a security alert in the version I was running.
However, it seems that this version isn’t loading in glitch.
internal/modules/cjs/loader.js:1144
8:41 AM
return process.dlopen(module, path.toNamespacedPath(filename));
8:41 AM
^
8:41 AM
8:41 AM
Error: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /rbd/pnpm-volume/ecc730a7-aa2f-4d98-8d0b-e94c52ab6455/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-x64/node_sqlite3.node)
I’ve solved the problem—due to an incompatibility with glibc versions, sqlite needs to be built from source. (The binary doesn’t work with older versions of glibc—see sqlite3: Versions | Openbase)
Running npm install --build-from-source in the terminal has got things working again.