Skip to content

How to specify path of prebuilt binary? #1157

@geocine

Description

@geocine

I already have a prebuilt binary of node_sqlite3.node , how do I specify this during install? So that it would not trigger the node-pre-gyp build?

One library that can do this is node-sass , we can just specify the SASS_BINARY_PATH like so:

export SASS_BINARY_PATH=./node-sass/v4.11.0/linux-x64-57_binding.node

Perhaps we could make this configurable:
https://github.com/mapbox/node-sqlite3/blob/master/lib/sqlite3.js#L1-L5

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