Skip to content

Commit ee9e4c5

Browse files
sjsyrekclaude
andcommitted
docs: add NODE_MODULE_VERSION mismatch to troubleshooting guide
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3454602 commit ee9e4c5

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docs/TROUBLESHOOTING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,16 @@ rm ~/.cache/deepl-cli/cache.db # or ~/.deepl-cli/cache.db for legacy installat
372372
deepl cache enable
373373
```
374374

375+
### "Cache database corrupted" with NODE_MODULE_VERSION mismatch
376+
377+
**Cause:** The `better-sqlite3` native addon was compiled for a different Node.js version than the one currently running. This happens when you switch Node.js versions (e.g., via `nvm use`, `fnm`, or a system upgrade) without rebuilding native modules.
378+
379+
**Solution:**
380+
381+
```bash
382+
npm rebuild better-sqlite3
383+
```
384+
375385
---
376386

377387
## Document Translation Issues

0 commit comments

Comments
 (0)