chore: rebuild better-sqlite3 and ensure curl install
This commit is contained in:
parent
0bba4fd1f1
commit
60da918434
1 changed files with 7 additions and 1 deletions
|
|
@ -50,6 +50,12 @@ else
|
|||
echo "[start-web] apt-get unavailable; skipping system deps install" >&2
|
||||
fi
|
||||
|
||||
# Rebuild native better-sqlite3 bindings for the current Node version
|
||||
if command -v npm >/dev/null 2>&1; then
|
||||
echo "[start-web] rebuilding better-sqlite3 for current Node runtime"
|
||||
(npm rebuild better-sqlite3 >/dev/null 2>&1 && echo "[start-web] better-sqlite3 rebuilt") || echo "[start-web] rebuild skipped (using existing bindings)"
|
||||
fi
|
||||
|
||||
# Bun keeps its store in node_modules/.bun by default; ensure it exists and is writable
|
||||
mkdir -p node_modules/.bun >/dev/null 2>&1 || true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue