sindresorhus / electron-better-ipc

Simplified IPC communication for Electron apps
MIT License
715 stars 60 forks source link

fix "fs.existssync is not a function" error #6

Closed chenvan closed 5 years ago

sindresorhus commented 5 years ago

Closing as the PR has no explanation and the fix doesn't look correct either.

chenvan commented 5 years ago

I use create-react-app and electron to build an app. use electron-better-ipc will cause 'fs.existssync is not a function' error I found the solution at here and actually it work when I change your code.