-
Notifications
You must be signed in to change notification settings - Fork 647
Description
=> ERROR [client build 11/11] RUN npm run build 39.0s
[client build 11/11] RUN npm run build:
0.530
0.530 > client@0.1.0 build
0.530 > react-scripts build
0.530
2.367 Creating an optimized production build...
38.67 Failed to compile.
38.67
38.67 TS2322: Type '(t: number) => string' is not assignable to type '((label: ReactNode, payload: readonly Payload<ValueType, NameType>[]) => ReactNode) & ((label: any, payload: Payload<ValueType, NameType>[]) => ReactNode)'.
38.67 Type '(t: number) => string' is not assignable to type '(label: ReactNode, payload: readonly Payload<ValueType, NameType>[]) => ReactNode'.
38.67 Types of parameters 't' and 'label' are incompatible.
38.67 Type 'ReactNode' is not assignable to type 'number'.
38.67 Type 'undefined' is not assignable to type 'number'.
38.67 187 | <YAxis domain={['auto', 'auto']} />
38.67 188 | <Tooltip
38.67 > 189 | labelFormatter={(t: number) => new Date(t).toLocaleTimeString()}
38.67 | ^^^^^^^^^^^^^^
38.67 190 | contentStyle={{ borderRadius: '8px', border: 'none', boxShadow: '0 4px 6px -1px rgb(0 0 0 / 0.1)' }}
38.67 191 | />
38.67 192 |
38.67
[+] up 12/14
✔ Image bbernhard/signal-cli-rest-api Pulled 250.9s
⠙ Image device-activity-tracker-backend Building 541.8s
⠙ Image device-activity-tracker-client Building 541.8s
Dockerfile:27
25 |
26 | # Build the app
27 | >>> RUN npm run build
28 |
29 | # Production stage with nginx
target client: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1