Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Unable to override binary download host #276

Open
Labels
enhancementNew feature or request
@sdgrimm

Description

I need to override the binary download host for offline installs. This is necessary in order to use this package in airgapped environments not connected to the internet. node-pre-gyp suggests this is supported but it does not work. I found a bug with how it replaces dashes: mapbox/node-pre-gyp#896

Just a suggestion for an alternative to managing supported binaries... some packages use the approach of packaging supported binaries into npm packages listed as optional dependencies with the appropriate os defined. For example, esbuild does this here. This provides a really nice experience for running airgapped environments because nothing needs to be overridden and the npm packages are simply proxied/replicated as is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /