-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.log
More file actions
111 lines (88 loc) · 4.8 KB
/
Copy pathbuild.log
File metadata and controls
111 lines (88 loc) · 4.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
Image nawaat-nextjs Building
#1 [internal] load local bake definitions
#1 reading from stdin 534B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 1.36kB done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/node:22-alpine
#3 DONE 1.1s
#4 [internal] load .dockerignore
#4 transferring context: 696B done
#4 DONE 0.0s
#5 [base 1/3] FROM docker.io/library/node:22-alpine@sha256:968df39aedcea65eeb078fb336ed7191baf48f972b4479711397108be0966920
#5 DONE 0.0s
#6 [base 3/3] WORKDIR /app
#6 CACHED
#7 [base 2/3] RUN apk add --no-cache libc6-compat openssl ca-certificates
#7 CACHED
#8 [production 1/7] RUN npm install -g prisma
#8 CACHED
#9 [internal] load build context
#9 transferring context: 30.02kB 0.0s done
#9 DONE 0.1s
#10 [builder 2/6] RUN npm install
#10 CACHED
#11 [builder 1/6] COPY package.json package-lock.json* ./
#11 CACHED
#12 [builder 3/6] COPY prisma ./prisma
#12 CACHED
#13 [builder 4/6] RUN npx prisma generate
#13 CACHED
#14 [builder 5/6] COPY . .
#14 DONE 0.2s
#15 [builder 6/6] RUN npm run build
#15 0.776
#15 0.776 > nawaat-crm@0.1.0 build
#15 0.776 > next build
#15 0.776
#15 3.033 Attention: Next.js now collects completely anonymous telemetry regarding usage.
#15 3.035 This information is used to shape Next.js' roadmap and prioritize features.
#15 3.035 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:
#15 3.035 https://nextjs.org/telemetry
#15 3.035
#15 3.110 ▲ Next.js 16.1.6 (Turbopack)
#15 3.111 - Experiments (use with caution):
#15 3.111 · optimizePackageImports
#15 3.111 · serverActions
#15 3.113
#15 3.240 Creating an optimized production build ...
#15 38.01 ✓ Compiled successfully in 33.6s
#15 38.01 Running TypeScript ...
#15 65.37 Failed to compile.
#15 65.37
#15 65.37 ./app/(dashboard)/announcements/page.tsx:42:55
#15 65.37 Type error: Conversion of type '{ status: string; id: string; createdAt: Date; updatedAt: Date; description: string | null; title: string; scheduledAt: Date; sentAt: Date | null; personFilters: JsonValue; ... 6 more ...; createdBy: string | null; }[]' to type 'AnnouncementRow[]' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
#15 65.37 Property 'customerFilters' is missing in type '{ status: string; id: string; createdAt: Date; updatedAt: Date; description: string | null; title: string; scheduledAt: Date; sentAt: Date | null; personFilters: JsonValue; ... 6 more ...; createdBy: string | null; }' but required in type 'AnnouncementRow'.
#15 65.37
#15 65.37 [0m [90m 40 |[39m [36mconst[39m loadAnnouncements [33m=[39m useCallback([36masync[39m () [33m=>[39m {
#15 65.37 [90m 41 |[39m [36mconst[39m res [33m=[39m [36mawait[39m getAnnouncements()
#15 65.37 [31m[1m>[22m[39m[90m 42 |[39m [36mif[39m (res[33m.[39msuccess [33m&&[39m res[33m.[39mdata) setAnnouncements(res[33m.[39mdata [36mas[39m [33mAnnouncementRow[39m[])
#15 65.37 [90m |[39m [31m[1m^[22m[39m
#15 65.37 [90m 43 |[39m setLoading([36mfalse[39m)
#15 65.37 [90m 44 |[39m }[33m,[39m [])
#15 65.37 [90m 45 |[39m[0m
#15 65.49 Next.js build worker exited with code: 1 and signal: null
#15 ERROR: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1
------
> [builder 6/6] RUN npm run build:
65.37 Property 'customerFilters' is missing in type '{ status: string; id: string; createdAt: Date; updatedAt: Date; description: string | null; title: string; scheduledAt: Date; sentAt: Date | null; personFilters: JsonValue; ... 6 more ...; createdBy: string | null; }' but required in type 'AnnouncementRow'.
65.37
65.37 [0m [90m 40 |[39m [36mconst[39m loadAnnouncements [33m=[39m useCallback([36masync[39m () [33m=>[39m {
65.37 [90m 41 |[39m [36mconst[39m res [33m=[39m [36mawait[39m getAnnouncements()
65.37 [31m[1m>[22m[39m[90m 42 |[39m [36mif[39m (res[33m.[39msuccess [33m&&[39m res[33m.[39mdata) setAnnouncements(res[33m.[39mdata [36mas[39m [33mAnnouncementRow[39m[])
65.37 [90m |[39m [31m[1m^[22m[39m
65.37 [90m 43 |[39m setLoading([36mfalse[39m)
65.37 [90m 44 |[39m }[33m,[39m [])
65.37 [90m 45 |[39m[0m
65.49 Next.js build worker exited with code: 1 and signal: null
------
Dockerfile:21
--------------------
19 | RUN npx prisma generate
20 | COPY . .
21 | >>> RUN npm run build
22 |
23 | # ---------------------------------
--------------------
failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1