packager icon indicating copy to clipboard operation
packager copied to clipboard

Electron Packager bails when used in conjunction with RXJS 7.8 (EP 17.1.1)

Open inthegarage opened this issue 2 years ago • 1 comments

Preflight Checklist

  • [ X] I have read the contribution documentation for this project.
  • [X ] I agree to follow the code of conduct that this project follows, as appropriate.
  • [ X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Issue Details

RXJS 7.8 does causes post create error with electron packager, the following error is seen: node:internal/process/promises:279 triggerUncaughtException(err, true /* fromPromise */); ^

[Error: EPERM: operation not permitted, unlink 'C:\Windows\TEMP\electron-packager\win32-x64<APPNAME>-dXEPQm<APPNAME>.exe] { errno: -4048, code: 'EPERM', syscall: 'unlink', path: 'C:\Windows\TEMP\electron-packager\win32-x64\<APPNAME>-x64-dXEPQm\<APPNAME>.exe' }

  • Electron Packager Version: 17.1.1
  • Electron Version: 22.0.2
  • Operating System: Windows Server 2019
  • Last Known Working Electron Packager version:: RXJS, version 6 instead of version 7.

Expected Behavior

The app shouldn't bail and should exit cleanly.

Actual Behavior

The error is seen and builds are stuck. Regression back to RXJS as a npm dependency (6.7.8) corrects the issue.

To Reproduce

Create a standard build and use RXJS 7.8, the error should be seen.

Additional Information

None as yet, but can provide further debug. Note the build MUST be run twice, the second time the error will happen.

inthegarage avatar Jan 25 '23 18:01 inthegarage

👋 Thanks for opening your first issue here! If you have a question about using Electron Packager, read the support docs. If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. Development and issue triage is community-driven, so please be patient and we will get back to you as soon as we can.

To help make it easier for us to investigate your issue, please follow the contributing guidelines.

welcome[bot] avatar Jan 25 '23 18:01 welcome[bot]