I think I managed to solve this by using “^x.y.z” in all packages. I released minor versions of all the packages that instead of requiring specific version, use the compatible caret (e.g "rescript": "^11.0.0", “@kaiko.io/rescript-prelude”: “^7.0.0”), and the docker build is now passing.
↧
Midway clean during compilation makes compilation fail
↧