R
Railway7mo ago
stars

error mounting .tsbuildinfo

hey there, getting an error building a bog standard nodejs app. we don't have our own tsbuildinfo and i know providing one is problematic. any ideas? [stage-0 8/10] RUN --mount=type=cache,id=s/12b62f1f-79ba-44be-a4e2-67a7ea1d3f62-/tsbuildinfo,target=/app/./.tsbuildinfo --mount=type=cache,id=s/12b62f1f-79ba-44be-a4e2-67a7ea1d3f62-next/cache,target=/app/.next/cache --mount=type=cache,id=s/12b62f1f-79ba-44be-a4e2-67a7ea1d3f62-node_modules/cache,target=/app/node_modules/.cache yarn run build: 0.126 runc run failed: unable to start container process: error during container init: error mounting "/var/lib/docker/overlay2/id6vgvix3va07kwleunns0dre/diff" to rootfs at "/app/./.tsbuildinfo": mount /var/lib/docker/overlay2/id6vgvix3va07kwleunns0dre/diff:/app/./.tsbuildinfo (via /proc/self/fd/6), flags: 0x5000: not a directory
7 Replies
Percy
Percy7mo ago
Project ID: 12b62f1f-79ba-44be-a4e2-67a7ea1d3f62,12b62f1f-79ba-44be-a4e2-67a7ea1d3f62,12b62f1f-79ba-44be-a4e2-67a7ea1d3f62
stars
stars7mo ago
service: 12b62f1f-79ba-44be-a4e2-67a7ea1d3f62 staging environment also:
[Region: europe-west4]

==============

Using Nixpacks

==============


context: dca085ac3420f5af167ae3eb075f3c67



╔══════════════ Nixpacks v1.17.0 ═════════════╗

║ setup │ nodejs_18, yarn-1_x ║

║─────────────────────────────────────────────║

║ install │ yarn install --frozen-lockfile ║

║─────────────────────────────────────────────║

║ build │ yarn run build ║

║─────────────────────────────────────────────║

║ start │ yarn run start ║

╚═════════════════════════════════════════════╝


[Region: europe-west4]

==============

Using Nixpacks

==============


context: dca085ac3420f5af167ae3eb075f3c67



╔══════════════ Nixpacks v1.17.0 ═════════════╗

║ setup │ nodejs_18, yarn-1_x ║

║─────────────────────────────────────────────║

║ install │ yarn install --frozen-lockfile ║

║─────────────────────────────────────────────║

║ build │ yarn run build ║

║─────────────────────────────────────────────║

║ start │ yarn run start ║

╚═════════════════════════════════════════════╝


Brody
Brody7mo ago
so just to be clear, you don't have a .tsbuildinfo folder in the repo?
stars
stars7mo ago
we dont i remember having issues here before and that was the major cause, so ive made sure it doesnt appear in any of our repositories
Brody
Brody7mo ago
can you try setting a service variable NIXPACKS_NO_CACHE to 1
stars
stars7mo ago
that worked! thanks is it a problem with our repo or a global railway issue would you say?
Brody
Brody7mo ago
you don't have a .tsbuildinfo folder so I'd say this is an issue with nixpacks