electron-userland / electron-userland/electron-webpack

Segmentation fault on Windows 11

Open
#471 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
902
Forks
168
PR merge metrics
No merged PRs in 30d

Description

* **Version**: 23.0.3

* **Target**: Windows 11 Pro Insider Preview

### Error Message

```log
$ 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.