pnpm ping

구성된 레지스트리에 ping을 보내 연결을 확인합니다.

pnpm ping [--registry <url>]

On success, pnpm prints the registry URL and the round-trip time:

PING https://registry.npmjs.org/
PONG 120ms

If the registry answers with a non-empty JSON object or array, pnpm prints it on a further PONG line. If the request fails, the command fails with ERR_PNPM_PING_ERROR.

아무것도 설치하거나 게시하지 않고 현재 컴퓨터가 레지스트리에 연결할 수 있는지 빠르게 확인할 때 유용합니다.

옵션#

--registry <url>#

Ping 요청을 보낼 레지스트리입니다. 기본값은 구성된 기본 레지스트리입니다.