Deploy error on project
Since this afternoon, 12/01/2023, I have not been able to deploy my application.
28 Replies
Project ID:
1401a128-55c6-42bb-9b8e-bed862dd1fb4
project id please
project id 1401a128-55c6-42bb-9b8e-bed862dd1fb4
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?
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
please use this and send your build logs https://bookmarklets.up.railway.app/log-downloader/
are you able to build this app locally?
yarn run build
Locally everything works correctly, until today everything was working normally.
have you pushed to your repo recently so that railway will re-build?
I completely deleted it and deployed everything again and the error still persisted.
what node version are you using locally?
I will look
18.18.2
right but running the app doesn't necessarily mean it can build, have you tried building locally?
I already built it locally too
you ran
yarn run build
?pablo@DESKTOP-CG451B5 MINGW64 /d/dev/movementor-api (main)
$ yarn build
yarn run v1.22.19
$ nest build
Done in 7.58s.
Is there a way to clear the cache there?
you can try setting a service variable
NIXPACKS_NO_CACHE
to 1
before today, have you been able to deploy this project?yes, everything is normal
did you do some code changes that could have caused issues?
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.
can you try to replace your bcrypt package with a native JavaScript implementation of bcrypt
ok, I'll make this modification, thank you very much, it makes sense, that could be it. thanks.
Solution
Deploy error on project