My project is using Electron Forge's create-electron-app package with the webpack template.
When I try to run my application I get the following error:
PUSH_RECEIVER:::Error while starting the service [Error: ENOENT: no such file or directory, open '[...]\.webpack\main\checkin.proto'] {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: '[...]\\.webpack\\main\\checkin.proto'
}
Note that I'm using pnpm as my package manager. I know that sometimes gives some issues when a package is trying to execute post-build scripts but I don't think that's the issue here.
I kept the webpack config pretty standard. Not sure if I'm supposed to add anything to it in order to copy the proto files.