Skip to content

npm install ENOTFOUND: artifactory.global.square #471

@lee0c

Description

@lee0c

Hi. I am trying to run the graphql sample. When I attempt npm install, I get the following:

npm error code ENOTFOUND
npm error syscall getaddrinfo
npm error errno ENOTFOUND
npm error network request to https://artifactory.global.square/artifactory/api/npm/square-npm/word-wrap/-/word-wrap-1.2.5.tgz failed, reason: getaddrinfo ENOTFOUND artifactory.global.square
npm error network This is a problem related to network connectivity.
npm error network In most cases you are behind a proxy or have bad network settings.
npm error network
npm error network If you are behind a proxy, please make sure that the
npm error network 'proxy' config is set properly.  See: 'npm help config'

I'm not behind a proxy, just on my home network which as far as I know has extremely boring configuration.

I've tried these commands as well:

python3 -c "import socket; print(socket.getaddrinfo('artifactory.global.square', 443))"
# output
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
ping artifactory.global.square
# output
ping: artifactory.global.square: Name or service not known
curl https://artifactory.global.square/artifactory/api/npm/square-npm/word-wrap/-/word-wrap-1.2.5.tgz
# output
curl: (6) Could not resolve host: artifactory.global.square

Any idea what I am doing wrong?

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