$ 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.
Error Message
On
win11
, I often observe this error while starting ourElectron
application. When I try this exact code inUbuntu22.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
orelectron-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