Open liuxiaocs7 opened 4 months ago
It seems like you've got this under control, if you want help or have specific questions, let me know what I can do for you!
related: https://github.com/yarnpkg/yarn/issues/4890
The highest voting comment:
[INFO] --- frontend-maven-plugin:1.14.2:yarn (yarn install) @ hubble-dist ---
[INFO] Running 'yarn install --network-timeout 600000' in /home/runner/work/incubator-hugegraph-toolchain/incubator-hugegraph-toolchain/hugegraph-hubble/hubble-dist/../hubble-fe
[INFO] yarn install v1.22.21
[INFO] [1/4] Resolving packages...
[INFO] [2/4] Fetching packages...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] error Error: getaddrinfo ENOTFOUND registry.nlark.com
[INFO] at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26)
[INFO] error Error: getaddrinfo ENOTFOUND registry.nlark.cominfo Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] info There appears to be trouble with your network connection. Retrying...
@dosu-bot Please analyze the causes of the above problems and provide solutions
The getaddrinfo ENOTFOUND registry.nlark.com
error you're encountering during the yarn install
process suggests a DNS resolution issue, where the domain registry.nlark.com
cannot be found. This could be due to several reasons, including network connectivity issues, incorrect registry configuration, or DNS settings. Here's how to address the problem:
Verify and Update DNS Settings: Ensure your DNS settings are correctly configured. Consider using a public DNS like Google's 8.8.8.8
or Cloudflare's 1.1.1.1
.
Check Yarn Registry Configuration: Use yarn config set registry https://registry.npmjs.org/
to set the registry to a known, reliable one. This step ensures Yarn attempts to fetch packages from the correct source.
Clear Yarn Cache: Run yarn cache clean
to clear any potentially corrupted cache that might be causing issues.
Review and Update Dependencies: Check your package.json
for any dependencies that might be pointing to registry.nlark.com
and update them to use a more reliable registry.
Check Network Connectivity: Ensure your internet connection is stable and that registry.nlark.com
is not blocked by any firewall or network policy.
Disable Proxy/VPN Temporarily: If you're using a proxy or VPN, disable it temporarily to check if it's causing the DNS resolution issue.
Update Yarn: Ensure you're using the latest version of Yarn by running npm install -g yarn
.
If these steps do not resolve the issue, it might be due to a temporary problem with the registry itself, in which case waiting for a resolution or contacting the registry's support might be necessary.
To continue the conversation, mention @dosu.
Bug Type (问题类型)
None
Before submit
Environment (环境信息)
Expected & Actual behavior (期望与实际表现)
https://github.com/hugegraph/actions/actions/runs/8103879676
Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response