This repo is to reprodce this issue: getsentry/sentry-electron#992 To reproduce: run npm install run npm run dev Observe the error in the console Comment lines 7-17 in src/main/index.ts for everything to work as expected.