You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the latest version of electron-packager (14.x) which now uses galactus which internally uses flora-colossus
Since the logic for doing the prune was not there before in electron-packager, I was doing the pruning myself. After bumping to latest electron-packager it started crashing with error Failed to locate module...
After doing some digging, I found this code in Walker~walkDependenciesForModuleInModule
I am using the latest version of
electron-packager
(14.x) which now uses galactus which internally uses flora-colossusSince the logic for doing the prune was not there before in
electron-packager
, I was doing the pruning myself. After bumping to latestelectron-packager
it started crashing with errorFailed to locate module...
After doing some digging, I found this code in
Walker~walkDependenciesForModuleInModule
Also, I checked valid values of
depType
, they wereAnd for all the dev dependencies that I have, the value of
depType
was always1
(DEV
) for which there is no checkSo, should the condition be the following instead?
For me, the workaround was to stop doing the pruning myself so that
discoveredPath
would be truthy and it won't go in that conditional block.The text was updated successfully, but these errors were encountered: