R
Railway•8mo ago
Pablo George

Deploy error on project

Since this afternoon, 12/01/2023, I have not been able to deploy my application.
Solution:
Deploy error on project
Jump to solution
28 Replies
Percy
Percy•8mo ago
Project ID: 1401a128-55c6-42bb-9b8e-bed862dd1fb4
Brody
Brody•8mo ago
project id please
Pablo George
Pablo George•8mo ago
project id 1401a128-55c6-42bb-9b8e-bed862dd1fb4
Brody
Brody•8mo ago
what is the error you're facing when deploying your project? there was an incident earlier #🚨|incidents but that has since been resolved, have you tried deploying since then?
Pablo George
Pablo George•8mo ago
the problem started to occur this afternoon, I deleted the yarn.lock file and tried to reinstall the dependencies but looking at the log it gives an error when mounting the docker image. ... 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 I just tried to deploy again now and the error continues
Brody
Brody•8mo ago
please use this and send your build logs https://bookmarklets.up.railway.app/log-downloader/
Brody
Brody•8mo ago
are you able to build this app locally? yarn run build
Pablo George
Pablo George•8mo ago
Locally everything works correctly, until today everything was working normally.
Brody
Brody•8mo ago
have you pushed to your repo recently so that railway will re-build?
Pablo George
Pablo George•8mo ago
I completely deleted it and deployed everything again and the error still persisted.
Brody
Brody•8mo ago
what node version are you using locally?
Pablo George
Pablo George•8mo ago
No description
Pablo George
Pablo George•8mo ago
I will look 18.18.2
Brody
Brody•8mo ago
right but running the app doesn't necessarily mean it can build, have you tried building locally?
Pablo George
Pablo George•8mo ago
I already built it locally too
Brody
Brody•8mo ago
you ran yarn run build?
Pablo George
Pablo George•8mo ago
pablo@DESKTOP-CG451B5 MINGW64 /d/dev/movementor-api (main) $ yarn build yarn run v1.22.19 $ nest build Done in 7.58s.
Pablo George
Pablo George•8mo ago
No description
Pablo George
Pablo George•8mo ago
Is there a way to clear the cache there?
Brody
Brody•8mo ago
you can try setting a service variable NIXPACKS_NO_CACHE to 1 before today, have you been able to deploy this project?
Pablo George
Pablo George•8mo ago
yes, everything is normal
Pablo George
Pablo George•8mo ago
No description
Brody
Brody•8mo ago
did you do some code changes that could have caused issues?
Pablo George
Pablo George•8mo ago
the error started to happen when I updated the variables, I have the impression that the railway server is not updating the variables nothing, I just updated the variable with the postgres path, that's all, the same code.
Brody
Brody•8mo ago
can you try to replace your bcrypt package with a native JavaScript implementation of bcrypt
Pablo George
Pablo George•8mo ago
ok, I'll make this modification, thank you very much, it makes sense, that could be it. thanks.
Solution
Brody
Brody•8mo ago
Deploy error on project