georgethai
georgethai
RRailway
Created by georgethai on 5/28/2023 in #✋|help
yarn error
Hello, I am quite new to Railway, actually I am trying to deploy my first projet. I get this error. Can yo uhelp me pleae and suggest what should I do to make it wokr. Thank you. ========================= Using Detected Dockerfile ========================= context: 47a5c43d3867727d5f9ea7a35e657255 #1 [internal] load .dockerignore #1 transferring context: 98B done #1 DONE 0.1s #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 697B done #2 DONE 0.1s #3 [internal] load metadata for docker.io/library/node:18-alpine #3 DONE 0.5s #4 [ 1/11] FROM docker.io/library/node:18-alpine@sha256:1ccc70acda680aa4ba47f53e7c40b2d4d6892de74817128e0662d32647dd7f4d #4 CACHED #5 [internal] load build context #5 transferring context: 7.36MB 0.1s done #5 DONE 0.1s #6 [ 3/11] WORKDIR /usr/src/packages #6 CACHED #7 [ 4/11] COPY package.json ./ #7 CACHED #8 [ 5/11] COPY yarn.lock ./ #8 ERROR: failed to calculate checksum of ref moby::fwpmh1f9b66cq4y0vhxsnw6zz: "/yarn.lock": not found #9 [ 2/11] RUN apk add --update libc6-compat #9 0.373 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz #9 CANCELED -----
[ 5/11] COPY yarn.lock ./:
----- Dockerfile:14 ------------------- 12 | # Copy root package.json and lockfile 13 | COPY package.json ./ 14 | >>> COPY yarn.lock ./ 15 | 16 | # Copy components package.json ------------------- ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref moby::fwpmh1f9b66cq4y0vhxsnw6zz: "/yarn.lock": not found
13 replies