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 forge stopped in complies renderer code when using electron ipc #2384

Closed
3 tasks done
phattranky opened this issue Jul 16, 2021 · 1 comment
Closed
3 tasks done

Comments

@phattranky
Copy link

Preflight Checklist

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

Issue Details

  • Electron Forge Version:
    • ^6.0.0-beta.57
  • Electron Version:
    • 13.1.7
  • Operating System:
    • Windows 10 (Version 21H1)
  • Last Known Working Electron Forge version::

Expected Behavior

  • I can call the navite function in the renderer

Actual Behavior

  • Whenever I use the native function in the renderer like Notification, dialog. The app will crash with the output error
An unhandled rejection has occurred inside Forge:
[Error: EISDIR: illegal operation on a directory, read] {
  errno: -4068,
  code: 'EISDIR',
  syscall: 'read'
}

Electron Forge was terminated. Location:
{}

To Reproduce

The Source Code to Reproduce:
error.zip

Additional Information

I'm using with Webpack + React

Stackoverflow: https://stackoverflow.com/questions/67782869/electron-forge-stopped-in-complies-renderer-code-when-using-electron-ipc

index tsx - git-history-compare-tool - Visual Stud

@phattranky phattranky added the bug label Jul 16, 2021
@malept
Copy link
Member

malept commented Jul 16, 2021

Duplicate of #2293

@malept malept marked this as a duplicate of #2293 Jul 16, 2021
@malept malept closed this as completed Jul 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants