Krishna Raj
07/26/2022, 6:39 AMCommand is: `RUN yarn workspace @calcom/api build
Step 20/37 : RUN yarn workspace @calcom/api build
---> Running in bc5aa4b8127b
yarn workspace v1.22.19
yarn run v1.22.19
$ next build
warn - You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: <https://nextjs.org/docs/messages/non-standard-node-env>
warn - axiom: Envvars not detected. If this is production please see <https://github.com/axiomhq/next-axiom> for help
warn - axiom: Sending Web Vitals to /dev/null
warn - axiom: Sending logs to console
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
<https://nextjs.org/telemetry>
info - Linting and checking validity of types...
Failed to compile.
./pages/api/attendees/[id].ts
1:1 Error: Delete `import·type·{·NextApiRequest,·NextApiResponse·}·from·"next";⏎⏎` prettier/prettier
5:9 Error: Replace `·schemaAttendeeEditBodyParams,·schemaAttendeeReadPublic·` with `⏎··schemaAttendeeEditBodyParams,⏎··schemaAttendeeReadPublic,⏎` prettier/prettier
9:56 Error: Insert `t";⏎import·type·{·NextApiRequest,·NextApiResponse·}·from·"nex` prettier/prettier
120:14 Error: Replace `.status(400)` with `⏎············.status(400)⏎············` prettier/prettier
180:56 Error: Replace `withValidQueryIdTransformParseInt(attendeeById)` with `⏎··withValidQueryIdTransformParseInt(attendeeById)⏎` prettier/prettier
./pages/api/attendees/index.ts
1:1 Error: Delete `import·type·{·NextApiRequest,·NextApiResponse·}·from·"next";⏎⏎` prettier/prettier
5:9 Error: Replace `·schemaAttendeeCreateBodyParams,·schemaAttendeeReadPublic·}·from·"@lib/validations/attendee` with `⏎··schemaAttendeeCreateBodyParams,⏎··schemaAttendeeReadPublic,⏎}·from·"@lib/validations/attendee";⏎import·type·{·NextApiRequest,·NextApiResponse·}·from·"next` prettier/prettier
24:39 Error: Replace `·schemaAttendeeReadPublic.parse(attendee)` with `⏎······schemaAttendeeReadPublic.parse(attendee)⏎····` prettier/prettier
89:10 Error: Replace `.status(400)` with `⏎········.status(400)⏎········` prettier/prettier
101:55 Error: Replace `.map((booking:·{·id:·number·})·=>·booking.id)` with `⏎········.map((booking:·{·id:·number·})·=>·booking.id)⏎········` prettier/prettier
./pages/api/availabilities/[id].ts
1:1 Error: Delete `import·type·{·NextApiRequest,·NextApiResponse·}·from·"next";⏎⏎` prettier/prettier
13:1 Error: Insert `import·type·{·NextApiRequest,·NextApiResponse·}·from·"next";⏎` prettier/prettier
20:8 Error: Replace `.status(400)` with `⏎······.status(400)⏎······` prettier/prettier
25:53 Error: Insert `⏎···` prettier/prettier
57:16 Error: Replace `.status(404).json({·mess
Agusti
07/27/2022, 5:48 PMKrishna Raj
07/27/2022, 5:54 PMAgusti
07/27/2022, 5:55 PMyarn dev
instead?Krishna Raj
07/27/2022, 6:00 PMAgusti
07/27/2022, 6:01 PMKrishna Raj
07/27/2022, 6:02 PM