MarshallOfSound / flora-colossus

Walk your node_modules folder
6 stars 9 forks source link

Can't handle nested optional dependencies #1

Closed felixrieseberg closed 6 years ago

felixrieseberg commented 6 years ago

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"