-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
โ Have you read and understood the above guidelines?
yes
๐ Did you run the script with verbose mode enabled?
Yes, verbose mode was enabled and the output is included below
๐ What is the name of the script you are using?
SparkyFitness
๐ What was the exact command used to execute the script?
update
โ๏ธ What settings are you using?
- Default Settings
- Advanced Settings
๐ฅ๏ธ Which Linux distribution are you using?
Debian 13
๐ Which Proxmox version are you on?
pve-manager/9.1.5/80cf92a64bef6889 (running kernel: 6.17.4-1-pve)
๐ Provide a clear and concise description of the issue.
Running update command in SparkyFitness LXC Console causes an error to occur in relation to build and zod.
โELIFECYCLEโ Command failed with exit code 2.
โ๏ธ in line 60: exit code 2 (Misuse of shell builtins (e.g. syntax error)): while executing command pnpm run build
๐ Steps to reproduce the issue.
Run update command in SparkyFitness LXC Console
โ Paste the full error output (if available).
/ /_ ____ / / / () / ___ __________
_ / __ / __ `/ / /// / / / / / / __/ __ / _ / / /
/ / // / // / / / ,< / // / __/ / / // / / / ( | )
// ./_,// //||_, // //_// //___///
// /____/
โ๏ธ Update available: sparkyfitness 0.16.4.9 โ 0.16.5.0
โ๏ธ Stopped Services
โ๏ธ Backed up data
โ๏ธ Deployed: sparkyfitness (0.16.5.0)
Hit:1 http://deb.debian.org/debian trixie InRelease
Get:2 http://security.debian.org trixie-security InRelease [43.4 kB]
Get:3 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Get:4 http://security.debian.org trixie-security/main amd64 Packages [108 kB]
Hit:5 https://deb.nodesource.com/node_25.x nodistro InRelease
Get:6 https://apt.postgresql.org/pub/repos/apt trixie-pgdg InRelease [180 kB]
Get:7 https://apt.postgresql.org/pub/repos/apt trixie-pgdg/main amd64 Packages [415 kB]
Fetched 794 kB in 1s (1,316 kB/s)
1 package can be upgraded. Run 'apt list --upgradable' to see it.
changed 10 packages in 2s
15 packages are looking for funding
run npm fund for details
โ๏ธ Update Node.js 25
โ๏ธ Installed Node.js modules: pnpm@10.30.3
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated lodash.get@4.4.2: This package is deprecated. Use the optional chaining (?.) operator instead.
npm warn deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual instead.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.1.6: Glob versions prior to v9 are no longer supported
added 588 packages, and audited 589 packages in 7s
106 packages are looking for funding
run npm fund for details
7 vulnerabilities (1 low, 1 moderate, 4 high, 1 critical)
To address all issues, run:
npm audit fix
Run npm audit for details.
โ๏ธ Updated Sparky Fitness Backend
โณ Updating Sparky Fitness Frontend (Patience)Lockfile is up to date, resolution step is skipped
Packages: +989
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Update available! 10.30.3 โ 10.32.0. โ
โ Changelog: https://pnpm.io/v/10.32.0 โ
โ To update, run: pnpm add -g pnpm โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Progress: resolved 989, reused 988, downloaded 1, added 989, done
dependencies:
- @better-auth/passkey 1.4.18
- @better-auth/sso 1.4.18
- @dnd-kit/core 6.3.1
- @dnd-kit/sortable 10.0.0
- @dnd-kit/utilities 3.2.2
- @ericblade/quagga2 1.12.1
- @radix-ui/react-accordion 1.2.12
- @radix-ui/react-alert-dialog 1.1.15
- @radix-ui/react-avatar 1.1.11
- @radix-ui/react-checkbox 1.3.3
- @radix-ui/react-dialog 1.1.15
- @radix-ui/react-label 2.1.8
- @radix-ui/react-popover 1.1.15
- @radix-ui/react-progress 1.1.8
- @radix-ui/react-radio-group 1.3.8
- @radix-ui/react-scroll-area 1.2.10
- @radix-ui/react-select 2.2.6
- @radix-ui/react-separator 1.1.8
- @radix-ui/react-slider 1.3.6
- @radix-ui/react-slot 1.2.4
- @radix-ui/react-switch 1.2.6
- @radix-ui/react-tabs 1.1.13
- @radix-ui/react-toast 1.2.15
- @radix-ui/react-toggle 1.1.10
- @radix-ui/react-tooltip 1.2.8
- @tanstack/react-query 5.90.20
- @types/leaflet 1.9.21
- @zxing/library 0.21.3
- better-auth 1.4.18
- class-variance-authority 0.7.1
- clsx 2.1.1
- date-fns 4.1.0
- dompurify 3.3.1
- html5-qrcode 2.3.8
- i18next 25.7.4
- i18next-browser-languagedetector 8.2.0
- i18next-http-backend 3.0.2
- leaflet 1.9.4
- lucide-react 0.562.0
- papaparse 5.5.3
- react 19.2.4
- react-day-picker 9.13.0
- react-dom 19.2.4
- react-error-boundary 6.1.1
- react-i18next 16.5.4
- react-icons 5.5.0
- react-leaflet 5.0.0
- react-qr-code 2.0.18
- react-router-dom 7.13.0
- recharts 3.7.0
- sonner 2.0.7
- tailwind-merge 3.4.0
- tailwindcss-animate 1.0.7
- zod 4.3.6
devDependencies:
- @eslint/js 9.39.2
- @tailwindcss/typography 0.5.19
- @tanstack/react-query-devtools 5.91.3
- @testing-library/jest-dom 6.9.1
- @testing-library/react 16.3.1
- @types/jest 30.0.0
- @types/node 25.0.10
- @types/papaparse 5.5.2
- @types/react 19.2.10
- @types/react-dom 19.2.3
- @vitejs/plugin-react-swc 4.2.2
- autoprefixer 10.4.23
- dotenv 17.2.3
- eslint 9.39.2
- eslint-plugin-react-hooks 7.0.1
- eslint-plugin-react-refresh 0.4.26
- eslint-plugin-unused-imports 4.4.1
- globals 17.2.0
- identity-obj-proxy 3.0.0
- jest 30.2.0
- jest-environment-jsdom 30.2.0
- lovable-tagger 1.1.13
- postcss 8.5.6
- prettier 3.8.1
- tailwindcss 3.4.19
- ts-jest 29.4.6
- typescript 5.9.3
- typescript-eslint 8.54.0
- vite 7.3.1
- vite-plugin-pwa 1.2.0
โญ Warning โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Ignored build scripts: sharp@0.34.5, unrs-resolver@1.11.1. โ
โ Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts. โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Done in 14.8s using pnpm v10.30.3
sparkyfitnessfrontend@0.16.5.0 build /opt/sparkyfitness/SparkyFitnessFrontend
pnpm run validate && vite build
sparkyfitnessfrontend@0.16.5.0 validate /opt/sparkyfitness/SparkyFitnessFrontend
pnpm run typecheck && pnpm run lint && pnpm run format:check
sparkyfitnessfrontend@0.16.5.0 typecheck /opt/sparkyfitness/SparkyFitnessFrontend
tsc -b
../shared/src/schemas/Account.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/AdminActivityLogs.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/AiServiceSettings.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/ApiKey.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/BackupSettings.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/CheckInMeasurements.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/CustomCategories.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/CustomMeasurements.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/DailySleepNeed.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/DayClassificationCache.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/ExerciseEntries.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/ExerciseEntryActivityDetails.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/ExerciseEntrySets.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/ExercisePresetEntries.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/Exercises.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/ExternalDataProviders.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/ExternalProviderTypes.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/FamilyAccess.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/FastingLogs.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/FoodEntries.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/FoodEntryMeals.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/FoodVariants.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/Foods.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/GlobalSettings.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/GoalPresets.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/MealFoods.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/MealPlanTemplateAssignments.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/MealPlanTemplates.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/MealPlans.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/MealTypes.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/Meals.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/MoodEntries.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/OidcProviders.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/OnboardingData.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/OnboardingStatus.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/Passkey.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/Profiles.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/Session.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/SleepEntries.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/SleepEntryStages.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/SleepNeedCalculations.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/SparkyChatHistory.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/SsoProvider.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/TwoFactor.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/User.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/UserCustomNutrients.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/UserGoals.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/UserIgnoredUpdates.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/UserMealVisibilities.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/UserNutrientDisplayPreferences.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/UserOidcLinks.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/UserPreferences.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/UserWaterContainers.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/Users.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/VMctqAnalysis.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/VMctqStats.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/Verification.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/WaterIntake.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/WeeklyGoalPlans.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/WorkoutPlanAssignmentSets.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/WorkoutPlanTemplateAssignments.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/WorkoutPlanTemplates.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/WorkoutPresetExerciseSets.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/WorkoutPresetExercises.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
../shared/src/schemas/WorkoutPresets.zod.ts:2:19 - error TS2307: Cannot find module 'zod' or its corresponding type declarations.
2 import { z } from "zod";
~~~~~
Found 65 errors.
โELIFECYCLEโ Command failed with exit code 2.
โELIFECYCLEโ Command failed with exit code 2.
โELIFECYCLEโ Command failed with exit code 2.
โ๏ธ in line 60: exit code 2 (Misuse of shell builtins (e.g. syntax error)): while executing command pnpm run build
--- Last 20 lines of log ---
[2026-03-10 17:16:22] [INFO] Checking for update: sparkyfitness
[2026-03-10 17:16:22] [OK] Update available: sparkyfitness 0.16.4.9 โ 0.16.5.0
[2026-03-10 17:16:22] [INFO] Stopping Services
[2026-03-10 17:16:22] [OK] Stopped Services
[2026-03-10 17:16:22] [INFO] Backing up data
[2026-03-10 17:16:22] [OK] Backed up data
[2026-03-10 17:16:22] [INFO] Fetching GitHub release: sparkyfitness (0.16.5.0)
[2026-03-10 17:16:27] [OK] Deployed: sparkyfitness (0.16.5.0)
[2026-03-10 17:16:27] [INFO] Update Node.js 25
[2026-03-10 17:16:30] [OK] Update Node.js 25
[2026-03-10 17:16:31] [OK] Installed Node.js modules: pnpm@10.30.3
[2026-03-10 17:16:31] [INFO] Updating Sparky Fitness Backend
[2026-03-10 17:16:38] [OK] Updated Sparky Fitness Backend
[2026-03-10 17:16:38] [INFO] Updating Sparky Fitness Frontend (Patience)
[2026-03-10 17:17:12] [ERROR] in line 60: exit code 2 (Misuse of shell builtins (e.g. syntax error)): while executing command pnpm run build
๐ Full log: /tmp/create-lxc-77b3a585.log
root@sparkyfitness:##
root@sparkyfitness:
๐ผ๏ธ Additional context (optional).
root@sparkyfitness:# cat /tmp/create-lxc-77b3a585.log#
[2026-03-10 17:16:22] [INFO] Checking for update: sparkyfitness
[2026-03-10 17:16:22] [OK] Update available: sparkyfitness 0.16.4.9 โ 0.16.5.0
[2026-03-10 17:16:22] [INFO] Stopping Services
[2026-03-10 17:16:22] [OK] Stopped Services
[2026-03-10 17:16:22] [INFO] Backing up data
[2026-03-10 17:16:22] [OK] Backed up data
[2026-03-10 17:16:22] [INFO] Fetching GitHub release: sparkyfitness (0.16.5.0)
[2026-03-10 17:16:27] [OK] Deployed: sparkyfitness (0.16.5.0)
[2026-03-10 17:16:27] [INFO] Update Node.js 25
[2026-03-10 17:16:30] [OK] Update Node.js 25
[2026-03-10 17:16:31] [OK] Installed Node.js modules: pnpm@10.30.3
[2026-03-10 17:16:31] [INFO] Updating Sparky Fitness Backend
[2026-03-10 17:16:38] [OK] Updated Sparky Fitness Backend
[2026-03-10 17:16:38] [INFO] Updating Sparky Fitness Frontend (Patience)
[2026-03-10 17:17:12] [ERROR] in line 60: exit code 2 (Misuse of shell builtins (e.g. syntax error)): while executing command pnpm run build
[2026-03-10 17:17:12] Full log: /tmp/create-lxc-77b3a585.log
root@sparkyfitness: