I cant deploy my nestjs application it breaks during the build process
pryme0
HOBBYOP
8 months ago
The deployment fails during the build phase, i attached the logs
Attachments
4 Replies
Railway
BOT
8 months ago
Hey there! We've found the following might help you get unblocked faster:
- 🧵 Deployment during the build process
- 🧵 Build and Deployment
- 🧵 NestJS deployment
- 🧵 Build failure bug
If you find the answer from one of these, please let us know by solving the thread!
pryme0
HOBBYOP
8 months ago
None of the links helped
andresndp
FREE
8 months ago
According to Yarn documentation, that error code is YN0018 - CACHE_CHECKSUM_MISMATCH
Try the following:
1. Clean Yarn Cache Locally
yarn cache clean --all
2. Update Checksums
For Yarn v2/v3:
3. Commit and Redeploy
starphoneswebtech
PRO
8 months ago
I think the reason for this is you forgot to add your lock file, the current package and lock is not matching.
hope it resolves your issue.