electron / packager

Customize and package your Electron app with OS-specific bundles (.app, .exe, etc.) via JS or CLI
https://npm.im/@electron/packager
BSD 2-Clause "Simplified" License
187 stars 19 forks source link

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

Open inthegarage opened 1 year ago

inthegarage commented 1 year ago

Preflight Checklist

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\-dXEPQm\.exe] { errno: -4048, code: 'EPERM', syscall: 'unlink', path: 'C:\Windows\TEMP\electron-packager\win32-x64\-x64-dXEPQm\.exe' }

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.

welcome[bot] commented 1 year ago

šŸ‘‹ 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.