electron-webpack icon indicating copy to clipboard operation
electron-webpack copied to clipboard

Segmentation fault on Windows 11

Open danie007 opened this issue 3 years ago • 0 comments

  • Version: 23.0.3
  • Target: Windows 11 Pro Insider Preview

Error Message

$ electron-webpack dev
error Command failed with exit code 3221225477.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
/c/Users/*/AppData/Roaming/npm/yarn: line 14:  1789 Segmentation fault      node "$basedir/node_modules/yarn/bin/yarn.js" "$@"

On win11, I often observe this error while starting our Electron application. When I try this exact code in Ubuntu22.04 it's working perfectly.

On Windows, if I repeat (2 or 3 times) it'll start the app, hence it's occasionally (but frequently) failing.

I use yarn to manage the commands and I'm not sure whether it's an issue with yarn or electron-webpack

Any help would be highly appreciable, thanks in advance.

I've also raised this command on electron repo: https://github.com/electron/electron/issues/35295

danie007 avatar Aug 10 '22 05:08 danie007