Is this a known issue? ```@calcom/api:build: ../.....
# developers
c
Is this a known issue?
Copy code
@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.
@Emrysal
this may be a dependency linking thing when I used
yarn turbo run build --filter=@calcom/api
instead of
yarn
turbo
run
build
--scope=@calcom/api
--include-dependencies
--no-deps
trying the latter now
still having the same issue, but can't replicate outside of a container. very strange
ok I -am- getting it locally now
z
it seems somewhere we are using a non-extended dayjs instance
c
created an issue for it here: https://github.com/calcom/api/issues/228