fix(sparkyfitness): use --legacy-peer-deps for npm install

Resolves peer dependency conflict with better-call/better-auth packages.

Fixes #12886
This commit is contained in:
MickLesk
2026-03-14 21:12:41 +01:00
parent 813b11bb4f
commit 40b5be0ee0
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ function update_script() {
msg_info "Updating Sparky Fitness Backend"
cd /opt/sparkyfitness/SparkyFitnessServer
$STD npm install
$STD npm install --legacy-peer-deps
msg_ok "Updated Sparky Fitness Backend"
msg_info "Updating Sparky Fitness Frontend (Patience)"

View File

@@ -47,7 +47,7 @@ msg_ok "Configured Sparky Fitness"
msg_info "Building Backend"
cd /opt/sparkyfitness/SparkyFitnessServer
$STD npm install
$STD npm install --legacy-peer-deps
msg_ok "Built Backend"
msg_info "Building Frontend (Patience)"