"Build › Build image
ohudsonsilva
HOBBYOP

a year ago

"Build › Build image

(00:11)

Failed to build an image. Please check the build logs for more details."

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

3 Replies

a year ago

Have you checked the build logs for more details?


ohudsonsilva
HOBBYOP

a year ago

#5 CACHED

Oct 09 18:17:28

Oct 09 18:17:28

#6 [internal] load build context

Oct 09 18:17:28

#6 transferring context: 1.83MB 0.0s done

Oct 09 18:17:28

#6 DONE 0.0s

Oct 09 18:17:28

Oct 09 18:17:28

#7 [builder 2/7] RUN apk update && apk upgrade && apk add --no-cache git tzdata ffmpeg wget curl

Oct 09 18:17:28

#7 CACHED

Oct 09 18:17:28

Oct 09 18:17:28

#8 [builder 3/7] WORKDIR /evolution

Oct 09 18:17:28

#8 CACHED

Oct 09 18:17:28

Oct 09 18:17:28

#9 [builder 4/7] COPY ./package.json .

Oct 09 18:17:28

#9 CACHED

Oct 09 18:17:28

Oct 09 18:17:28

#10 [builder 5/7] RUN npm install

Oct 09 18:17:28

#10 CACHED

Oct 09 18:17:28

Oct 09 18:17:28

#11 [builder 6/7] COPY . .

Oct 09 18:17:28

#11 CACHED

Oct 09 18:17:28

Oct 09 18:17:28

#12 [builder 7/7] RUN npm run build

Oct 09 18:17:28

Oct 09 18:17:28

#12 0.631

Oct 09 18:17:28

#12 0.631 > evolution-api@1.8.2 build

Oct 09 18:17:28

#12 0.631 > tsc

Oct 09 18:17:28

#12 0.631

Oct 09 18:17:28

Oct 09 18:17:37

#12 9.454 src/api/services/channels/whatsapp.baileys.service.ts(1504,55): error TS2345: Argument of type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest?: boolean; progress?: number; syncType?: HistorySyncType; peerDataRequestSessionId?: string; }' is not assignable to parameter of type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest: boolean; }'.

Oct 09 18:17:37

#12 9.454 Property 'isLatest' is optional in type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest?: boolean; progress?: number; syncType?: HistorySyncType; peerDataRequestSessionId?: string; }' but required in type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest: boolean; }'.

Oct 09 18:17:37

Oct 09 18:17:37

#12 9.455 src/api/services/channels/whatsapp.baileys.service.ts(2926,48): error TS2345: Argument of type 'WAPrivacyValue' is not assignable to parameter of type 'WAPrivacyGroupAddValue'.

Oct 09 18:17:37

#12 9.455 Type '"none"' is not assignable to type 'WAPrivacyGroupAddValue'.

Oct 09 18:17:37

#12 ERROR: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1

Oct 09 18:17:37

-----

Oct 09 18:17:37

> [builder 7/7] RUN npm run build:

Oct 09 18:17:37

0.631

Oct 09 18:17:37

0.631 > evolution-api@1.8.2 build

Oct 09 18:17:37

0.631 > tsc

Oct 09 18:17:37

0.631

Oct 09 18:17:37

9.454 src/api/services/channels/whatsapp.baileys.service.ts(1504,55): error TS2345: Argument of type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest?: boolean; progress?: number; syncType?: HistorySyncType; peerDataRequestSessionId?: string; }' is not assignable to parameter of type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest: boolean; }'.

Oct 09 18:17:37

9.454 Property 'isLatest' is optional in type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest?: boolean; progress?: number; syncType?: HistorySyncType; peerDataRequestSessionId?: string; }' but required in type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest: boolean; }'.

Oct 09 18:17:37

9.455 src/api/services/channels/whatsapp.baileys.service.ts(2926,48): error TS2345: Argument of type 'WAPrivacyValue' is not assignable to parameter of type 'WAPrivacyGroupAddValue'.

Oct 09 18:17:37

9.455 Type '"none"' is not assignable to type 'WAPrivacyGroupAddValue'.

Oct 09 18:17:37

-----

Oct 09 18:17:37

Oct 09 18:17:37

Dockerfile:18

Oct 09 18:17:37

-------------------

Oct 09 18:17:37

16 | COPY . .

Oct 09 18:17:37

17 |

Oct 09 18:17:37

18 | >>> RUN npm run build

Oct 09 18:17:37

19 |

Oct 09 18:17:37

20 | FROM node:20.7.0-alpine AS final

Oct 09 18:17:37

-------------------

Oct 09 18:17:37

ERROR: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1


ohudsonsilva
HOBBYOP

a year ago

As únicas informações que o log me dá são essas, mas, não sei onde está o problema, várias pessoas já conseguiram fazer isso


Loading...