Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error Error: getaddrinfo EAI_AGAIN registry.yarnpkg.com #617

Open
MBlackLotus opened this issue Feb 11, 2025 · 2 comments
Open

error Error: getaddrinfo EAI_AGAIN registry.yarnpkg.com #617

MBlackLotus opened this issue Feb 11, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@MBlackLotus
Copy link

I followed the docx, modified the IP, and proceeded "docker compose up -d --build", to rreport to LAN. The result failed due to:

`=> [perplexica-backend internal] load build definition from backend.dockerfile 0.0s
=> => transferring dockerfile: 547B 0.0s
=> [perplexica-backend internal] load metadata for docker.io/library/node:18-slim 0.1s
=> [perplexica-backend internal] load .dockerignore 0.0s
=> => transferring context: 55B 0.0s
=> [perplexica-backend 1/13] FROM docker.io/library/node:18-slim@sha256:29752c4f06579d48b504ee569dbe3625374d31f37da1c3b411455e 0.0s
=> [perplexica-backend internal] load build context 0.0s
=> => transferring context: 2.51kB 0.0s
=> CACHED [perplexica-backend 2/13] WORKDIR /home/perplexica 0.0s
=> CACHED [perplexica-backend 3/13] COPY src /home/perplexica/src 0.0s
=> CACHED [perplexica-backend 4/13] COPY tsconfig.json /home/perplexica/ 0.0s
=> CACHED [perplexica-backend 5/13] COPY drizzle.config.ts /home/perplexica/ 0.0s
=> CACHED [perplexica-backend 6/13] COPY package.json /home/perplexica/ 0.0s
=> CACHED [perplexica-backend 7/13] COPY yarn.lock /home/perplexica/ 0.0s
=> CACHED [perplexica-backend 8/13] RUN mkdir /home/perplexica/data 0.0s
=> CACHED [perplexica-backend 9/13] RUN mkdir /home/perplexica/uploads 0.0s
=> CACHED [perplexica-backend 10/13] RUN yarn config set registry https://registry.npmmirror.com/ 0.0s
=> CACHED [perplexica-backend 11/13] RUN yarn config get registry 0.0s
=> ERROR [perplexica-backend 12/13] RUN yarn install --frozen-lockfile --network-timeout 1000000 1.0s

[perplexica-backend 12/13] RUN yarn install --frozen-lockfile --network-timeout 1000000:
0.559 yarn install v1.22.22
0.633 [1/4] Resolving packages...
0.801 [2/4] Fetching packages...
0.913 error Error: getaddrinfo EAI_AGAIN registry.yarnpkg.com
0.913 at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26)
0.913 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.


failed to solve: process "/bin/sh -c yarn install --frozen-lockfile --network-timeout 1000000" did not complete successfully: exit code: 1
`

So, what should I do to Solve it?

@MBlackLotus MBlackLotus added the bug Something isn't working label Feb 11, 2025
@MBlackLotus
Copy link
Author

Does running code on a virtual machine affect network configuration?

@Wangwentao1
Copy link

It is network problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants