Skip to content

install from npmmirror.com failed (302 redirect) #302

@GongT

Description

@GongT

env

nodejs docker image tag: latest (v20.5.1)

run

corepack pnpm i

COREPACK_NPM_REGISTRY="https://registry.npmmirror.com"

Internal Error: Server answered with HTTP 302 when performing the request to https://registry.npmmirror.com/pnpm/-/pnpm-8.7.1.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting
    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:38889:21)
    at Object.onceWrapper (node:events:[62](http://gitlab.moffett.local/softwareteam/infra/sparse-playground-service/-/jobs/31791#L62)9:26)
    at ClientRequest.emit (node:events:514:28)
    at HTTPParser.parserOnIncomingClient (node:_http_client:693:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
    at TLSSocket.socketOnData (node:_http_client:535:22)
    at TLSSocket.emit (node:events:514:28)
    at addChunk (node:internal/streams/readable:343:12)
    at readableAddChunk (node:internal/streams/readable:316:9)
    at Readable.push (node:internal/streams/readable:253:10)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions