fix: use better-sqlite3 for Cursor auto-import, drop sqlite3 CLI requirement (closes #395) (#411)

This commit is contained in:
Anurag Saxena
2026-03-27 10:45:11 +07:00
committed by GitHub
parent 5e308e8ff2
commit a6c764d772
2 changed files with 61 additions and 9 deletions
+1 -4
View File
@@ -131,11 +131,8 @@ export default function CursorAuthModal({ isOpen, onSuccess, onClose }) {
</p>
</div>
<p className="text-xs text-amber-700 dark:text-amber-300">
Run this command in your terminal, then click <strong>Retry</strong>:
Make sure Cursor IDE has been opened at least once, then click <strong>Retry</strong>. If the problem persists, paste your tokens manually below.
</p>
<pre className="text-xs bg-black/10 dark:bg-white/10 rounded p-2 font-mono select-all">
npm i better-sqlite3 -g
</pre>
<Button onClick={runAutoDetect} variant="outline" fullWidth>
Retry
</Button>