Uélinton
Uélinton
RRailway
Created by Uélinton on 10/3/2023 in #✋|help
Deployment Failed during build process
Thank you my friend. these tips helped me
10 replies
RRailway
Created by Uélinton on 10/3/2023 in #✋|help
Deployment Failed during build process
ok, I removed package-lock.json. However, still failed
[stage-0 11/16] RUN --mount=type=cache,id=s/837cac68-68b7-45c9-8b81-2b1d97c38823-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 yarn install --frozen-lockfile:
1.734 yarn install v1.22.18 1.868 [1/4] Resolving packages... 3.498 error Your lockfile needs to be updated, but yarn was run with --frozen-lockfile. 3.498 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. ----- Dockerfile:27 ------------------- 25 | COPY . /app/. 26 | RUN --mount=type=cache,id=s/837cac68-68b7-45c9-8b81-2b1d97c38823-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 npm install -g corepack && corepack enable 27 | >>> RUN --mount=type=cache,id=s/837cac68-68b7-45c9-8b81-2b1d97c38823-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 yarn install --frozen-lockfile 28 | 29 | # build phase ------------------- ERROR: failed to solve: process "/bin/bash -ol pipefail -c yarn install --frozen-lockfile" did not complete successfully: exit code: 1 Error: Docker build failed
10 replies
RRailway
Created by Uélinton on 10/3/2023 in #✋|help
Deployment Failed during build process
I just performed a redeploy, but the problem persists.
[stage-0 11/16] RUN --mount=type=cache,id=s/837cac68-68b7-45c9-8b81-2b1d97c38823-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 yarn install --frozen-lockfile:
1.056 yarn install v1.22.18 1.142 warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json. 1.156 [1/4] Resolving packages... 2.504 error Your lockfile needs to be updated, but yarn was run with --frozen-lockfile. 2.505 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. ----- Dockerfile:27 ------------------- 25 | COPY . /app/. 26 | RUN --mount=type=cache,id=s/837cac68-68b7-45c9-8b81-2b1d97c38823-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 npm install -g corepack && corepack enable 27 | >>> RUN --mount=type=cache,id=s/837cac68-68b7-45c9-8b81-2b1d97c38823-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 yarn install --frozen-lockfile 28 | 29 | # build phase ------------------- ERROR: failed to solve: process "/bin/bash -ol pipefail -c yarn install --frozen-lockfile" did not complete successfully: exit code: 1 Error: Docker build failed
10 replies