Closed jkhartshorne closed 4 years ago
Hmmm. Haven't been able to replicate this since.
OK, this is now recurring. This has something to do with the yarn lockfile. It seems that the local tempPackages packages don't have integrity checksums. And that (probably?) causes problems. I'm not sure how to address it yet.
Ideally, we'd copy the local yarn.lock to the Docker container in order to ensure we are using exactly the same dependencies during production. However, doing so resulted in this weird error:
error Integrity check failed for "basic_web" (computed integrity doesn't match our records, got "sha512-HffYVRHj62f01qlazruJl+vWWYsIv65VoxS1Tpu7KuQD2hpmPunTbPVwKhwWnLjGI5xmyc7VTwKConsE/u6oZQ== sha1-W+Gzd8/Grk20KB/Q65LuV99wJBg=") info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. ERROR: Service 'server' failed to build: The command '/bin/sh -c yarn install --production' returned a non-zero code: 1
Note that
basic_web
refers to the web dependencies of an experiment namedbasic
.I have simply removed copying the yarn.lock file from the dockerfile, but again that seems not ideal.