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
Migrating out Electron app to PnP caused getIssuerSpecsFromModule to throw error on startup.
To reproduce
As I am migrating an existing app to PnP, it is difficult to pinpoint what is causing the crash. However, it seems that null checking module.paths?.length in the first line of getIssuerSpecsFromModule fixes the issue.
Self-service
Describe the bug
Migrating out Electron app to PnP caused getIssuerSpecsFromModule to throw error on startup.

To reproduce
As I am migrating an existing app to PnP, it is difficult to pinpoint what is causing the crash. However, it seems that null checking
module.paths?.length
in the first line ofgetIssuerSpecsFromModule
fixes the issue.Basically:
Environment
System:
OS: macOS 14.5
CPU: (11) arm64 Apple M3 Pro
Binaries:
Node: 18.20.4 - /private/var/folders/mz/x9j10h2j05df1cbkf8kws7t00000gn/T/xfs-bc166754/node
Yarn: 4.5.1 - /private/var/folders/mz/x9j10h2j05df1cbkf8kws7t00000gn/T/xfs-bc166754/yarn
npm: 10.7.0 - ~/.nvm/versions/node/v18.20.4/bin/npm
Additional context
No response
The text was updated successfully, but these errors were encountered: