a year ago
When creating the Api it is giving these errors: Dockerfile:20
18 | ENV NIXPACKSPATH /app/nodemodules/.bin:$NIXPACKS_PATH
19 | COPY . /app/.
20 | >>> RUN --mount=type=cache,id=s/ea79dfc1-a1c5-4c85-a6a6-eb991d55e389-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 yarn install --frozen-lockfile
21 |
22 | # 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
View Deploy details
ⓘ Deployment information is only viewable by Project members and Railway admins.
7 Replies
a year ago
Version : 1.22.19
Status changed to Solved railway[bot] • over 1 year ago
a year ago
what is the recommendation?
a year ago
Is uninstalling yarn and installing again enough?