If a dependency of a dependency is marked as optional, this module will error out.
Example:
- electron-windows-notifications // Normal dependency
|--@nodert-win10/windows.applicationmodel // Optional
results in:
Packaging app for platform linux x64 using electron v2.0.0-beta.6
Failed to locate module "@nodert-win10/windows.applicationmodel" from "/home/builder/slack-desktop/node_modules/electron-windows-notifications"
This normally means that either you have deleted this package already somehow (check your ignore settings if using electron-packager). Or your module installation failed.
Error: Failed to locate module "@nodert-win10/windows.applicationmodel" from "/home/builder/slack-desktop/node_modules/electron-windows-notifications"
If a dependency of a dependency is marked as optional, this module will error out.
Example:
results in: