electron / electron/rebuild

Running from terminal vs npm-script

Open
#265 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.1k
Forks
181
Avg merge
6h 44m
Merged PRs (30d)
3

Description

I'm using electron-rebuild to rebuild the nodegit dependency for Electron v3. If i do it via the cmd using this statement `./node_modules/.bin/electron-rebuild -f -w nodegit` all works great. But if I try to add an npm script like this in my package.json `"rebuild-electron-deps": "electron-rebuild -f -w nodegit"` it does the recompilation process as well and also properly succeeds, but the app crashes on using the dependency, which hints the compilation wasn't successful. Any ideas what the difference could be?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.