Files
lcbp3/docs/error/224 to 226 AI #02.md
admin a0b9b55130
CI / CD Pipeline / build (push) Failing after 4m8s
CI / CD Pipeline / deploy (push) Has been skipped
690519:2118 224 to 226 AI #03
2026-05-19 21:18:48 +07:00

88 lines
7.0 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#17 [build 8/10] RUN cd backend && NODE_OPTIONS="--max-old-space-size=4096" pnpm run build
#20 11.53 ▲ Next.js 16.2.6 (Turbopack)
#20 11.53
#20 11.64 Creating an optimized production build ...
#17 2.418 ! Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-10.33.0.tgz
#17 9.085
#17 9.085 > backend@1.8.1 build /app/backend
#17 9.085 > nest build
#17 9.085
#20 43.38 ✓ Compiled successfully in 31.1s
#20 43.39 Running TypeScript ...
#17 44.89 src/modules/ai/intent-classifier/services/intent-analytics.service.ts:114:41 - error TS2345: Argument of type '{ method: string; intentCode: string; id: number; documentPublicId?: string | undefined; aiModel: string; modelName?: string | undefined; aiSuggestionJson?: Record<string, unknown> | undefined; ... 9 more ...; publicId: string; }[]' is not assignable to parameter of type '(AiAuditLog & { method: string; })[]'.
#17 44.89 Type '{ method: string; intentCode: string; id: number; documentPublicId?: string; aiModel: string; modelName?: string; aiSuggestionJson?: Record<string, unknown>; humanOverrideJson?: Record<string, unknown>; ... 8 more ...; publicId: string; }' is not assignable to type 'AiAuditLog & { method: string; }'.
#17 44.89 Property 'generatePublicId' is missing in type '{ method: string; intentCode: string; id: number; documentPublicId?: string; aiModel: string; modelName?: string; aiSuggestionJson?: Record<string, unknown>; humanOverrideJson?: Record<string, unknown>; ... 8 more ...; publicId: string; }' but required in type 'AiAuditLog'.
#17 44.89
#17 44.89 114 const byMethod = this.groupByMethod(withMethod);
#17 44.89 ~~~~~~~~~~
#17 44.89
#17 44.89 src/common/entities/uuid-base.entity.ts:25:3
#17 44.89 25 generatePublicId(): void {
#17 44.89 ~~~~~~~~~~~~~~~~
#17 44.89 'generatePublicId' is declared here.
#17 44.89 src/modules/ai/intent-classifier/services/intent-analytics.service.ts:115:41 - error TS2345: Argument of type '{ method: string; intentCode: string; id: number; documentPublicId?: string | undefined; aiModel: string; modelName?: string | undefined; aiSuggestionJson?: Record<string, unknown> | undefined; ... 9 more ...; publicId: string; }[]' is not assignable to parameter of type '(AiAuditLog & { method: string; intentCode: string; })[]'.
#17 44.89 Type '{ method: string; intentCode: string; id: number; documentPublicId?: string; aiModel: string; modelName?: string; aiSuggestionJson?: Record<string, unknown>; humanOverrideJson?: Record<string, unknown>; ... 8 more ...; publicId: string; }' is not assignable to type 'AiAuditLog & { method: string; intentCode: string; }'.
#17 44.89 Property 'generatePublicId' is missing in type '{ method: string; intentCode: string; id: number; documentPublicId?: string; aiModel: string; modelName?: string; aiSuggestionJson?: Record<string, unknown>; humanOverrideJson?: Record<string, unknown>; ... 8 more ...; publicId: string; }' but required in type 'AiAuditLog'.
#17 44.89
#17 44.89 115 const byIntent = this.groupByIntent(withMethod);
#17 44.89 ~~~~~~~~~~
#17 44.89
#17 44.89 src/common/entities/uuid-base.entity.ts:25:3
#17 44.89 25 generatePublicId(): void {
#17 44.89 ~~~~~~~~~~~~~~~~
#17 44.89 'generatePublicId' is declared here.
#17 44.89 src/modules/ai/intent-classifier/services/intent-analytics.service.ts:116:51 - error TS2345: Argument of type '{ method: string; intentCode: string; id: number; documentPublicId?: string | undefined; aiModel: string; modelName?: string | undefined; aiSuggestionJson?: Record<string, unknown> | undefined; ... 9 more ...; publicId: string; }[]' is not assignable to parameter of type '(AiAuditLog & { method: string; intentCode: string; })[]'.
#17 44.89 Type '{ method: string; intentCode: string; id: number; documentPublicId?: string; aiModel: string; modelName?: string; aiSuggestionJson?: Record<string, unknown>; humanOverrideJson?: Record<string, unknown>; ... 8 more ...; publicId: string; }' is not assignable to type 'AiAuditLog & { method: string; intentCode: string; }'.
#17 44.89 Property 'generatePublicId' is missing in type '{ method: string; intentCode: string; id: number; documentPublicId?: string; aiModel: string; modelName?: string; aiSuggestionJson?: Record<string, unknown>; humanOverrideJson?: Record<string, unknown>; ... 8 more ...; publicId: string; }' but required in type 'AiAuditLog'.
#17 44.89
#17 44.89 116 const recalibration = this.buildRecalibration(withMethod);
#17 44.89 ~~~~~~~~~~
#17 44.89
#17 44.89 src/common/entities/uuid-base.entity.ts:25:3
#17 44.89 25 generatePublicId(): void {
#17 44.89 ~~~~~~~~~~~~~~~~
#17 44.89 'generatePublicId' is declared here.
#17 44.89 src/modules/ai/tool/drawing-tool.service.ts:60:60 - error TS2345: Argument of type '{ projectId: number; page: number; limit: number; }' is not assignable to parameter of type 'SearchShopDrawingDto'.
#17 44.89 Property 'projectUuid' is missing in type '{ projectId: number; page: number; limit: number; }' but required in type 'SearchShopDrawingDto'.
#17 44.89
#17 44.89 60 const result = await this.shopDrawingService.findAll({
#17 44.89 ~
#17 44.89 61 projectId: internalProjectId,
#17 44.89 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#17 44.89 ...
#17 44.89 63 limit: 20,
#17 44.89 ~~~~~~~~~~~~~~~~~~
#17 44.89 64 });
#17 44.89 ~~~~~~~
#17 44.89
#17 44.89 src/modules/drawing/dto/search-shop-drawing.dto.ts:6:3
#17 44.89 6 projectUuid!: string;
#17 44.89 ~~~~~~~~~~~
#17 44.89 'projectUuid' is declared here.
#17 44.89 src/modules/ai/tool/rfa-tool.service.ts:74:39 - error TS2339: Property 'respondedAt' does not exist on type 'RfaRevision'.
#17 44.89
#17 44.89 74 respondedAt: rfaRevision?.respondedAt
#17 44.89 ~~~~~~~~~~~
#17 44.89 src/modules/ai/tool/rfa-tool.service.ts:76:31 - error TS2339: Property 'respondedAt' does not exist on type 'RfaRevision'.
#17 44.89
#17 44.89 76 rfaRevision.respondedAt as string | number | Date
#17 44.89 ~~~~~~~~~~~
#17 44.89
#17 44.89 Found 6 error(s).
#17 44.89
#17 45.01 ELIFECYCLE Command failed with exit code 1.
#17 ERROR: process "/bin/sh -c cd backend && NODE_OPTIONS=\"--max-old-space-size=4096\" pnpm run build" did not complete successfully: exit code: 1
------
> [build 8/10] RUN cd backend && NODE_OPTIONS="--max-old-space-size=4096" pnpm run build:
44.89 74 respondedAt: rfaRevision?.respondedAt
44.89 ~~~~~~~~~~~
44.89 src/modules/ai/tool/rfa-tool.service.ts:76:31 - error TS2339: Property 'respondedAt' does not exist on type 'RfaRevision'.
44.89
44.89 76 rfaRevision.respondedAt as string | number | Date
44.89 ~~~~~~~~~~~
44.89
44.89 Found 6 error(s).
44.89
45.01 ELIFECYCLE Command failed with exit code 1.