Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
inthegarage opened this issue Jan 25, 2023 · 1 comment
Labels

Comments

@inthegarage
Copy link

inthegarage commented Jan 25, 2023

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\-x64-dXEPQm\.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.

@welcome
Copy link

welcome bot commented Jan 25, 2023

👋 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant