-
-
Notifications
You must be signed in to change notification settings - Fork 132
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
Building the Fronted in v.0.16.4.7 does not succeed because of build errors
Steps to Reproduce
Steps to reproduce the behavior:
- run
npm run buildinside SparkyFitnessFrontend - See errors
Expected Behavior
There should not be any errors
Actual Behavior
npm run build
> sparkyfitnessfrontend@0.16.4.7 build
> tsc -b && vite build
src/api/Exercises/exerciseEntryService.ts:254:12 - error TS2304: Cannot find name 'ExerciseProgressData'.
254 ): Promise<ExerciseProgressData[]> => {
~~~~~~~~~~~~~~~~~~~~
src/api/Exercises/exerciseEntryService.ts:267:31 - error TS2304: Cannot find name 'ExerciseProgressData'.
267 return response.map((entry: ExerciseProgressData) => ({
~~~~~~~~~~~~~~~~~~~~
src/pages/Settings/CalculationSettings.tsx:45:38 - error TS2307: Cannot find module '@/hooks/Diary/useDiaryInvalidation' or its corresponding type declarations.
45 import { useDiaryInvalidation } from '@/hooks/Diary/useDiaryInvalidation';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/Settings/CalculationSettings.tsx:73:35 - error TS2304: Cannot find name 'useDailyProgressInvalidation'.
73 const invalidateDailyProgress = useDailyProgressInvalidation();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 4 errors.Additional Context
The build with the main version is working, just the release version is not. I'm not sure how the docker build for the official image could have succeeded building the released version 😄
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Projects
Status
Done