-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
qcif/data-curator
#563Labels
Description
- Version: 7.10.0
- Target: Mac and Linux
Hello, I'm using electron-builder with native module (https://github.com/lyssdod/node-libtorrent). The module itself uses node-pre-gyp
and has precompiled binaries. It installs flawlessly if I'm not using electron-builder
directly (running npm install
from app
directory works). But if I do, it fails with
Error output:
module.js:457
throw err;
^
Error: Cannot find module 'adm-zip'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
The fun fact is, this module (adm-zip
) is specified in node-libtorrent-ng
s devDependencies
and is handled by regular npm install
just fine.
So my questions are:
- Why
electron-builder
ignores default action ofnode-gyp-rebuild
despite binaries are available? - Is there a way to debug 'install-app-deps' step?
Thanks!