error mounting for docker container
Hey! I've been trying to deploy my TypeScript esbuild React.js app to Railway and it's been working fine for a while, but I infrequently get the following error:
This used to happen infrequently, but now it's persistent and won't let me deploy? Thanks for any help!
12 Replies
Project ID:
462d7304-5191-4aae-a91c-09bd401f3ea2,462d7304-5191-4aae-a91c-09bd401f3ea2,462d7304-5191-4aae-a91c-09bd401f3ea2,462d7304-5191-4aae-a91c-09bd401f3ea2,462d7304-5191-4aae-a91c-09bd401f3ea2,462d7304-5191-4aae-a91c-09bd401f3ea2,462d7304-5191-4aae-a91c-09bd401f3ea2,462d7304-5191-4aae-a91c-09bd401f3ea2,462d7304-5191-4aae-a91c-09bd401f3ea2
Project ID: ceb881e9-0cf9-447d-8d04-c336121732a4
Service ID: 462d7304-5191-4aae-a91c-09bd401f3ea2
If I can provide any more information please ask, but there's nothing I can see that might be related. The
yarn install
works just fine:
and the error above directly follows
To note, the husky install step has performed exactly the same in prior deployments and does not block any installcan you set a service variable
NIXPACKS_NO_CACHE
to 1
and let me know if that changes anythingsure
just got back from lunch - apologies for the delayed response
no worries
We're getting a new build issue (with the actual code) so that's hopeful - I need to go talk with the library's support staff as it seems to be a bug with their platform but once that's resolved I'll let you know if it all works for us :D
sounds good!
But yeah that env seems to have worked - any idea what could cause that bug? I assume something's being cached too long/incorrectly but I'm not sure if that's our own fault
thats the same thing i assumed
I beleive this happens when the
.tsbuildinfo
file is committed in the repo. Ideally it is not committed and generated when Railway builds for the first time, and then cached and used in subsequent deploysah very insightful, @stars would you happen to be committing your
.tsbuildinfo
to your repo?Now you mention it i did notice one of our devs add it
That is super insightful