Skip to content

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

Open
@inthegarage

Description

@inthegarage

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions