Skip to content

Unknown env config "nodegit-binary-host-mirror". This will stop working in the next major version of npm. #3156

@rcolfin

Description

@rcolfin

Hi,

I'm using nodegit, which uses node-gyp to include the platform specific binaries. In my organization, I have in my .npmrc, an override for nodegit_binary_host_mirror to set the location to point to my custom repository. Using npm v11.3.0, I started getting Unknown env config "nodegit-binary-host-mirror". This will stop working in the next major version of npm. My understanding is this is a feature of node-gyp to allow for overriding the binary location. Is there an alternative being discussed?

Thanks,
Rob

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