-
Notifications
You must be signed in to change notification settings - Fork 13
Update / Audit postinstall task #38
Comments
As far as I can tell, the call to To test, I removed the
They all worked without issues. |
Background: native Node modules have components written in native code, e.g. C/C++. They are automatically built during
Using Electron adds another wrinkle: for reasons, Electron uses its own version of Node, which may or may not match your system version. Here's a quick one-liner to find installed packages with native components:
If I'm understanding all of this correctly (big "if"), we only need It is a little bit difficult to figure out how all the dependencies of this application interact, partially because it's using a two package.json structure leftover from electron-react-boilerplate. However, I think the use of |
The postinstall task has a deprecation warning about using an old API of
electron-rebuild
. Not to mention it's not super clear to me that the current setup is even the right approach. Would a simplenpm rebuild
be more effective than electron-rebuild?The text was updated successfully, but these errors were encountered: