How to build and run api module ? #3443
-
Need help, attempting to build apps/api is giving me this errror. 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: } |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello there @reachkrishnaraj, first of all thank you for reporting this issue. I'll be looking into it, it seems this is about a new feature (Workflows) we recently shipped on latest v1.8, not sure why it's affecting API build but I'll fix it and let you know here once fix is up in prod. |
Beta Was this translation helpful? Give feedback.
-
Fixed by #3446 thank you @hariombalhara will get added to new minor release done by @zomars today |
Beta Was this translation helpful? Give feedback.
Fixed by #3446 thank you @hariombalhara will get added to new minor release done by @zomars today