[Pkg-javascript-devel] node-pre-gyp and build-from-source=true

Jérémy Lal kapouer at melix.org
Fri Oct 30 17:58:30 UTC 2015


Hi,

when doing

npm install sqlite3

it is highly probable that you'll get a binary release of the module
instead of getting it built on the fly.
The submodule responsible for it is "node-pre-gyp" which is something
that upstream came up to workaround the difficulty of distributing binary
releases in npm.
It is needless to say that a debian user of npm should never get the binary
release and should always have the module built from source.
(You might say that you're not even supposed to use npm, but that
is not the issue i'm asking about here).
It is possible to tell node-pre-gyp to always build from source, with a
global
setting
build-from-source=true
in
/usr/share/npm/npmrc

Before doing so i'd like to know if there is any opinion against it.

Jérémy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20151030/e3880e01/attachment.html>


More information about the Pkg-javascript-devel mailing list