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

Error: ENOENT: no such file or directory, open #109

Closed
waynee-inc opened this issue Aug 23, 2018 · 2 comments
Closed

Error: ENOENT: no such file or directory, open #109

waynee-inc opened this issue Aug 23, 2018 · 2 comments
Assignees

Comments

@waynee-inc
Copy link

Hi guys, i throw exception from ipcMain.on and get error:

{ Error: ENOENT: no such file or directory, open 'C:\proj\node_modules\@sentry\electron\src\main\backend.ts'
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'C:\\proj\\node_modules\\@sentry\\electron\\src\\main\\backend.ts' }

This first error:

Error: err
    at EventEmitter.ipcMain.on (C:\proj\electron\ipc\auth.js:66:11)
    at emitOne (events.js:115:13)
    at EventEmitter.emit (events.js:210:7)
    at WebContents.<anonymous> (C:\proj\node_modules\electron\dist\resources\electron.asar\browser\api\web-contents.js:266:13)
    at emitTwo (events.js:125:13)
    at WebContents.emit (events.js:213:7)
    at WebContents.emitter.emit.args [as emit] (C:\proj\node_modules\@sentry\electron\src\main\backend.ts:324:14)

I try catch and send from captureException same error.
And i cant find src dir from 'C:\proj\node_modules@sentry\electron\src\main\backend.ts'.
But outside ipcMain code parts its work. :(

I use:

      "electron": "^1.8.4",
      "react-scripts": "1.1.4",
      "@sentry/electron": "^0.8.1",
@HazAT HazAT self-assigned this Aug 27, 2018
@HazAT
Copy link
Member

HazAT commented Aug 27, 2018

I think this issue is a duplicate of #94
We will soon release a new version which fixes this issue.

@waynee-inc
Copy link
Author

Ok ;(

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

No branches or pull requests

2 participants