Skip to content
Triggered via push October 24, 2024 04:57
Status Failure
Total duration 1m 4s
Artifacts

viteToHeroku.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
build
Error: Command failed: heroku container:push web --app foodoasisvite › Warning: heroku update available from 9.3.1 to 9.3.2. #0 building with "default" instance using docker driver #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 1.38kB done #1 DONE 0.0s #2 [internal] load metadata for docker.io/library/node:lts-bullseye-slim #2 DONE 0.3s #3 [internal] load .dockerignore #3 transferring context: 114B done #3 DONE 0.0s #4 [clientbuilder 1/9] FROM docker.io/library/node:lts-bullseye-slim@sha256:9b558df8f10198fcd1f48cf344c55c4442c3446b8a9a69487523b3d890a4a59e #4 DONE 0.0s #5 [internal] load build context #5 transferring context: 32.39kB 0.0s done #5 DONE 0.0s #6 [stage-2 2/9] WORKDIR /fola #6 CACHED #7 [stage-2 3/9] COPY ./server/package.json ./ #7 CACHED #8 [stage-2 4/9] COPY ./server/package-lock.json ./ #8 CACHED #9 [clientbuilder 5/9] COPY client/package-lock.json . #9 CACHED #10 [clientbuilder 4/9] COPY client/package.json . #10 CACHED #11 [clientbuilder 2/9] RUN mkdir /app #11 CACHED #12 [clientbuilder 6/9] RUN npm ci --legacy-peer-deps #12 CACHED #13 [clientbuilder 3/9] WORKDIR /app #13 CACHED #14 [clientbuilder 7/9] COPY client . #14 CACHED #15 [serverbuilder 5/13] RUN mkdir build #15 CACHED #16 [serverbuilder 2/13] WORKDIR /usr/src #16 CACHED #17 [serverbuilder 11/13] COPY ./server/app/ ./app #17 CACHED #18 [serverbuilder 6/13] COPY ./server/tsconfig.json ./ #18 CACHED #19 [serverbuilder 3/13] COPY tsconfig.json ./ #19 CACHED #20 [serverbuilder 7/13] COPY ./server/package.json ./ #20 CACHED #21 [serverbuilder 9/13] COPY ./server/middleware/ ./middleware #21 CACHED #22 [serverbuilder 4/13] WORKDIR /usr/src/app #22 CACHED #23 [serverbuilder 8/13] COPY ./server/package-lock.json ./ #23 CACHED #24 [serverbuilder 10/13] COPY ./server/types/ ./types #24 CACHED #25 [serverbuilder 12/13] COPY ./server/server.ts ./ #25 CACHED #26 [serverbuilder 13/13] RUN npm ci --quiet && npm run build #26 ... #27 [clientbuilder 8/9] RUN npm run build #27 0.393 #27 0.393 > [email protected] build #27 0.393 > tsc && vite build #27 0.393 #27 0.397 sh: 1: tsc: not found #27 ERROR: process "/bin/sh -c npm run build" did not complete successfully: exit code: 127 #26 [serverbuilder 13/13] RUN npm ci --quiet && npm run build #26 CANCELED #28 [stage-2 5/9] RUN npm ci --quiet #28 CANCELED ------ > [clientbuilder 8/9] RUN npm run build: 0.393 0.393 > [email protected] build 0.393 > tsc && vite build 0.393 0.397 sh: 1: tsc: not found ------ Dockerfile:13 -------------------- 11 | COPY client . 12 | 13 | >>> RUN npm run build 14 | RUN echo package.json 15 | -------------------- ERROR: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 127 › Error: docker build exited with Error: 1
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, akhileshns/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/