Nixpacks seems broken

Hi there, If i want to deploy anything trough nixpacks ill get the following issue after the build process: Last few lines of the logs: 1 warning found (use docker --debug to expand): - UndefinedVar: Usage of undefined variable '$NIXPACKS_PATH' (line 18) Dockerfile:20 -------------------- | ENV NIXPACKS_PATH=/app/node_modules/.bin:$NIXPACKS_PATH | COPY . /app/. | >>> RUN --mount=type=cache,id=0hCPC92WCww-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 yarn install --frozen-lockfile | | # 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 Error response from daemon: No such container: att-mainsite-frontend-1bc5f2-7yLUJbnDZe Error ❌ Error response from daemon: No such container: att-mainsite-frontend-1bc5f2-7yLUJbnDZe
No description
3 Replies
𝗠𝗿𝟭𝗕𝗹𝗮𝘇𝗲
Delete lockfile and try again
Attacler/Bart
Attacler/BartOP3mo ago
indeed works! any idea why?
𝗠𝗿𝟭𝗕𝗹𝗮𝘇𝗲
Maybe you working on Windows and nixpacks using linux and some packages are different between operating systems

Did you find this page helpful?