WongSaang/chatgpt-ui

Error when building

Closed this issue · 1 comments

natea commented

When running docker-compose up docker-compose.dev.xml, the following error occurs:

 > [builder 4/6] RUN yarn install:
#11 5.493 yarn install v1.22.19
#11 10.82 [1/4] Resolving packages...
#11 30.38 [2/4] Fetching packages...
#11 30.81 warning Pattern ["@intlify/message-compiler@next"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v6/npm-@intlify-message-compiler-9.3.0-beta.16-335f7bdb06cfb84d04a1a1c1d6eff2532dfd88e7-integrity/node_modules/@intlify/message-compiler" as pattern ["@intlify/message-compiler@9.3.0-beta.16"]. This could result in non-deterministic behavior, skipping.
#11 30.82 warning Pattern ["@intlify/shared@next"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v6/npm-@intlify-shared-9.3.0-beta.16-74f254dbb7eac633b86d690a341349db29573896-integrity/node_modules/@intlify/shared" as pattern ["@intlify/shared@9.3.0-beta.16","@intlify/shared@9.3.0-beta.16","@intlify/shared@9.3.0-beta.16","@intlify/shared@9.3.0-beta.16","@intlify/shared@9.3.0-beta.16","@intlify/shared@9.3.0-beta.16","@intlify/shared@9.3.0-beta.16"]. This could result in non-deterministic behavior, skipping.
#11 100.2 info There appears to be trouble with your network connection. Retrying...
#11 235.1 info There appears to be trouble with your network connection. Retrying...
#11 272.2 info There appears to be trouble with your network connection. Retrying...
#11 306.9 info There appears to be trouble with your network connection. Retrying...
#11 338.9 info There appears to be trouble with your network connection. Retrying...
#11 376.8 info There appears to be trouble with your network connection. Retrying...
#11 443.2 info There appears to be trouble with your network connection. Retrying...
#11 463.0 info There appears to be trouble with your network connection. Retrying...
#11 496.2 error An unexpected error occurred: "https://registry.npmmirror.com/highlight.js/-/highlight.js-11.7.0.tgz: ESOCKETTIMEDOUT".
#11 496.2 info If you think this is a bug, please open a bug report with the information provided in "/app/yarn-error.log".
#11 496.2 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
#11 531.0 info There appears to be trouble with your network connection. Retrying...
#11 724.7 info There appears to be trouble with your network connection. Retrying...
#11 753.1 info There appears to be trouble with your network connection. Retrying...
#11 784.1 info There appears to be trouble with your network connection. Retrying...
#11 819.6 info There appears to be trouble with your network connection. Retrying...
#11 853.8 info There appears to be trouble with your network connection. Retrying...
------
executor failed running [/bin/sh -c yarn install]: exit code: 1
ERROR: Service 'client' failed to build : Build failed

Hello,

Thanks for the feedback.

This problem may be caused by your network not being able to use the mirror address https://registry.npmmirror.com, see if you can ping through this address?

Or you can delete the yarn.lock file in the root of the project and try again.

Best.