Krishna Raj
07/19/2022, 3:09 PMapps/api
is giving me this errror.
yarn turbo run build --scope=@calcom/api --include-dependencies --no-deps
I tried the instructions in the https://github.com/calcom/api/tree/a8e8acd053e0de1da9ad623c3664a837950d6a06
Its possible to fix it by change this line https://github.com/calcom/cal.com/blob/ec07f84d1e9e99cd1a3415b2db9539fadd4973a1/apps/web/ee/pages/api/cron/workflows/scheduleSMSReminders.ts#L8
to include @calcom/ee
, but I want to be sure I am doing it right.
@calcom/api:build: ../web/ee/lib/workflows/reminders/smsReminderManager.ts:11:25
@calcom/api:build: Type error: Cannot find module '@ee/lib/workflows/reminders/smsProviders/twilioProvider' or its corresponding type declarations.
@calcom/api:build:
@calcom/api:build: 9 | import dayjs from "@calcom/dayjs";
@calcom/api:build: 10 | import prisma from "@calcom/prisma";
@calcom/api:build: > 11 | import * as twilio from "@ee/lib/workflows/reminders/smsProviders/twilioProvider";
@calcom/api:build: | ^
@calcom/api:build: 12 | import smsReminderTemplate from "@ee/lib/workflows/reminders/templates/smsReminderTemplate";
@calcom/api:build: 13 |
@calcom/api:build: 14 | export enum timeUnitLowerCase {
@calcom/api:build:
@calcom/api:build: > Build error occurred
@calcom/api:build: Error: Call retries were exceeded
@calcom/api:build: at ChildProcessWorker.initialize (/Users/kraj/tbd_work_area/tbd_git_area/cal_com_sandbox_hosting/cal_com_v3/cal.com/node_modules/next/dist/compiled/jest-worker/index.js:1:11661)
@calcom/api:build: at ChildProcessWorker._onExit (/Users/kraj/tbd_work_area/tbd_git_area/cal_com_sandbox_hosting/cal_com_v3/cal.com/node_modules/next/dist/compiled/jest-worker/index.js:1:12599)
@calcom/api:build: at ChildProcess.emit (node:events:527:28)
@calcom/api:build: at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) {
@calcom/api:build: type: 'WorkerError'
@calcom/api:build: }
Hariom Balhara
07/19/2022, 4:37 PMHariom Balhara
07/19/2022, 4:58 PMKrishna Raj
07/19/2022, 4:59 PMKrishna Raj
07/19/2022, 5:02 PMKrishna Raj
07/19/2022, 5:03 PMHariom Balhara
07/19/2022, 5:05 PMKrishna Raj
07/19/2022, 5:45 PM