Skip to content

dreamview frontend yarn install fail,registry.npm.baidu-int.com无法访问 #15767

@MrJohnSmith0

Description

@MrJohnSmith0

We appreciate you go through Apollo documentations and search previous issues before creating an new one. If neither of the sources helped you with your issues, please report the issue using the following form. Please note missing info can delay the response time.

System information

使用aem创建的docker,apollo 10
@in-dev-docker:/apollo_workspace/modules/dreamview/frontend]$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy

Steps to reproduce the issue:

在/apollo_workspace/modules/dreamview/frontend目录下执行 yarn install

yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error Error: getaddrinfo ENOTFOUND registry.npm.baidu-int.com
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

yarn.lock安装源resolved "http://registry.npm.baidu-int.com/xxx 无法访问

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions