Open
Description
This morning, I got this in the logs from building the TerriaMap image:
#12 [build 1/5] COPY --chown=node:node . /app
#12 DONE 1.6s
#13 [build 2/5] WORKDIR /app
#13 DONE 0.3s
#14 [build 3/5] RUN yarn install --network-timeout 1000000
#14 0.717 yarn install v1.18.0
#14 0.792 [1/5] Validating package.json...
#14 0.796 [2/5] Resolving packages...
#14 1.196 [3/5] Fetching packages...
#14 20.05 error An unexpected error occurred: "https://registry.yarnpkg.com/jsep/-/jsep-1.3.9.tgz: Request failed \"500 Internal Server Error\"".
#14 20.05 info If you think this is a bug, please open a bug report with the information provided in "/app/yarn-error.log".
#14 20.05 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
#14 ERROR: process "/bin/sh -c yarn install --network-timeout 1000000" did not complete successfully: exit code: 1
------
Apparently yarn version 2 retries requests automatically (yarnpkg/yarn#5706 (comment)) so it might be a good idea to update to node 18+ and yarn set version berry
in the Dockerfile.
Metadata
Metadata
Assignees
Labels
No labels