a year ago
Hello,
I'm having this error deploying from github. It's happening in the last update because it was working with older updates from the same repository
2.263 npm ERR! A complete log of this run can be found in: /root/.npm/logs/2024-10-15T223846116Z-debug-0.log
Dockerfile:20
18 | ENV NIXPACKSPATH=/app/nodemodules/.bin:$NIXPACKS_PATH
19 | COPY . /app/.
20 | >>> RUN --mount=type=cache,id=s/5649540d-11f6-4f23-947e-5a63592acf99-/root/npm,target=/root/.npm npm ci
21 |
22 | # build phase
ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 1
Error: Docker build failed
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
a year ago
This was due to an outdated lock file, this information was printed in your build logs, in the future please make sure to read the contents of your build logs.