Running from terminal vs npm-script
Open
- 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
Assessment
This issue has not been assessed yet.