Skip to content

Allow forcing local build with environment variables #703

@wmertens

Description

@wmertens

I'm using pnpm in my project and sqlite3 is a dep-of-dep. I want it to use a give sqlite3 binary and it seems that the only way to do that is to go into the module after install and manually run npx node-pre-gyp install --build-from-source

It would be great if there was a way to force build during install e.g. NODE_PRE_GYP_BUILD=sqlite3,bcrypt.

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