electron / windows-installer

Build Windows Installers for Electron apps
MIT License
1.55k stars 259 forks source link

Missing `semver` dependency #516

Open rtritto opened 1 month ago

rtritto commented 1 month ago

semver should be added as dependency or peer dependency of electron-winstaller.

✔ Checking your system
✖ Loading configuration
  › electron-winstaller tried to access semver (a peer dependency) but it isn't provided by its ancestors; this makes the require call ambiguous and unsound.  

  Required package: semver
  Required by: electron-winstaller@npm:5.3.1 (via \node_modules\electron-winstaller\lib\)

  Ancestor breaking the chain: @electron-forge/maker-squirrel@npm:7.4.0

  Require stack:
  - \node_modules\electron-winstaller\lib\sign.js
...