9 months ago
The project was working well, but on a new commit, it started throwing errors on lock files.
I matched the node version and npm version with the one on railway.
I am using NX + nix
0 Replies
9 months ago
can you link to a deployment when you first saw this issue?
9 months ago
full url link please?
9 months ago
to the build that threw the errors
9 months ago
that is a link to /logs
9 months ago
i would prefer a link to the failed build please
9 months ago
copy the url
9 months ago
perfect
9 months ago
so you deleted your local node_modules and ran npm ci locally without issue?
I don't know if you have time, but it's for my open-source project
https://github.com/gitroomhq/postiz-app/
9 months ago
i did -
9 months ago
9 months ago
i dont think that matters all too much, its clear i can repro locally with npm 10, so the issue is elsewhere
9 months ago
let me get you the commit im working with
9 months ago
f10bdbccea6fd99c954329569001484518f8ac14
9 months ago
9 months ago
since i can repro, you want me to update the lock file and submit a pr?
9 months ago
yeah i can do that, let me grab the latest repo, i just grabbed the code from the commit of the deploy you linked
9 months ago
wow eiter npm is slow or my internet, perhaps both
9 months ago
9 months ago
do your testing please, i did not run the project locally
that's ok, worst case I will revert, the latest docker version will not be updated
9 months ago
oh wow i didnt know vercel did this too
9 months ago
railway does it, and its not removable haha
I think in vercel it's also not removeable only if you disable preview deployments
9 months ago
fair
9 months ago
okay, let me know how it goes!
9 months ago
i forgot to ask, why vercel, why not run the frontend on railway too?
Honestly, many people pitched me about the advantages of running on vercel with all their special cases how they handle nextjs
9 months ago
is that bad?
9 months ago
maybe thats a weekend project
9 months ago
it doesnt need to be done with nixpacks, you could do it with a dockerfile
9 months ago
awsome!
9 months ago
any time! let me know if you face any build errors when you try running the frontend on railway too