Colin - Krumware
01/23/2023, 5:16 PM@calcom/api:build: ../../packages/dayjs/index.ts:40:14
@calcom/api:build: Type error: Argument of type 'import("/calcom/node_modules/dayjs/index").PluginFunc<unknown>' is not assignable to parameter of type 'import("/calcom/packages/dayjs/node_modules/dayjs/index").PluginFunc<unknown>'.
@calcom/api:build: Types of parameters 'c' and 'c' are incompatible.
@calcom/api:build: Type 'typeof import("/calcom/packages/dayjs/node_modules/dayjs/index").Dayjs' is not assignable to type 'typeof import("/calcom/node_modules/dayjs/index").Dayjs'.
@calcom/api:build: Types of construct signatures are incompatible.
@calcom/api:build: Type 'new (config?: string | number | Date | Dayjs | null | undefined) => Dayjs' is not assignable to type 'new (config?: string | number | Date | Dayjs | null | undefined) => Dayjs'.
@calcom/api:build: Types of parameters 'config' and 'config' are incompatible.
@calcom/api:build: Type 'string | number | Date | import("/calcom/node_modules/dayjs/index").Dayjs | null | undefined' is not assignable to type 'string | number | Date | import("/calcom/packages/dayjs/node_modules/dayjs/index").Dayjs | null | undefined'.
@calcom/api:build: Type 'Dayjs' is not assignable to type 'string | number | Date | Dayjs | null | undefined'.
@calcom/api:build: Type 'Dayjs' is missing the following properties from type 'Dayjs': isBetween, isToday, fromNow, from, and 8 more.
@calcom/api:build:
@calcom/api:build: 38 |
@calcom/api:build: 39 | dayjs.extend(customParseFormat);
@calcom/api:build: > 40 | dayjs.extend(dayjsBusinessTime);
@calcom/api:build: | ^
@calcom/api:build: 41 | dayjs.extend(isBetween);
@calcom/api:build: 42 | dayjs.extend(isToday);
@calcom/api:build: 43 | dayjs.extend(localizedFormat);
@calcom/api:build: error Command failed with exit code 1.
Colin - Krumware
01/23/2023, 5:20 PMColin - Krumware
01/23/2023, 5:36 PMyarn turbo run build --filter=@calcom/api
instead of yarn
turbo
run
build
--scope=@calcom/api
--include-dependencies
--no-deps
Colin - Krumware
01/23/2023, 5:36 PMColin - Krumware
01/23/2023, 6:10 PMColin - Krumware
01/23/2023, 6:30 PMzomars
01/23/2023, 10:25 PMColin - Krumware
01/23/2023, 11:26 PM