2 years ago
UndefinedVar: Usage of undefined variable '$NIXPACKS_PATH' (line 18)
Aug 20 17:54:07
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 18)
Aug 20 17:54:07
Aug 20 17:54:07
Dockerfile:20
Aug 20 17:54:07
-------------------
Aug 20 17:54:07
18 | ENV NIXPACKS_PATH /app/node_modules/.bin:$NIXPACKS_PATH
Aug 20 17:54:07
19 | COPY . /app/.
Aug 20 17:54:07
20 | >>> RUN --mount=type=cache,id=s/49fa050d-d3fb-48fa-b280-ffd88567ff74-/root/local/share/pnpm/store/v3,target=/root/.local/share/pnpm/store/v3 pnpm i --frozen-lockfile
Aug 20 17:54:07
21 |
Aug 20 17:54:07
22 | # build phase
Aug 20 17:54:07
-------------------
Aug 20 17:54:07
ERROR: failed to solve: process "/bin/bash -ol pipefail -c pnpm i --frozen-lockfile" did not complete successfully: exit code: 1
Aug 20 17:54:07
Aug 20 17:54:07
Error: Docker build failed
Aug 20 17:54:07
3 Replies
2 years ago
I can confirm that I am getting the same issue in my project, I have a service that is connected to github where I have a reactJs project, it was deploying perfectly fine a few days ago. I hope we get an answer to help in fixing this issue.
Project ID: ab0addc4-4004-48a7-8a41-4c8782d6a346
2 years ago
It's surely a breaking change, because I have been deploying projects with the same architecture on Railway since quite a long time and I have never faced this issue previously.
2 years ago
tut-with-us, your issue would not be the same, please try to stick to your own help threads.
vivek7405, this is from your build logs -
Can't reach database server at `postgres.railway.internal:5432`Try enabling the new builder in your service settings.