Startup stalled at " Launching dev servers for renderer process code"
- Dominant language
- TypeScript
- Stars
- 7.1k
- Forks
- 641
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 30
Description
### Pre-flight checklist
- [X] I have read the [contribution documentation](https://github.com/electron/forge/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project uses.
- [X] I have searched the issue tracker for a bug that matches the one I want to file, without success.
### Electron Forge version
6.0.4
### Electron version
v21.1.0
### Operating system
Windows 10 Enterprise
### Last known working Electron Forge version
6.0.0
### Expected behavior
Running "npm start" on our application should launch the application with minimal delay.
### Actual behavior
The process is stalling on launching the dev servers.
> $ npm start
>
> > cfg-ui@1.0.0 start
> > electron-forge start
>
> [STARTED] Checking your system
> [STARTED] Checking git exists
> [STARTED] Checking node version
> [STARTED] Checking packageManager version
> [TITLE] Found node@18.13.0
> [SUCCESS] Found node@18.13.0
> [TITLE] Found git@2.32.0.windows.1
> [SUCCESS] Found git@2.32.0.windows.1
> [TITLE] Found npm@9.4.0
> [SUCCESS] Found npm@9.4.0
> [SUCCESS] Checking your system
> [STARTED] Locating application
> [SUCCESS] Locating application
> [STARTED] Loading configuration
> [SUCCESS] Loading configuration
> [STARTED] Preparing native dependencies
> [TITLE] Preparing native dependencies
> [SUCCESS] Preparing native dependencies
> [STARTED] Running generateAssets hook
> [SUCCESS] Running generateAssets hook
> [STARTED] [plugin-webpack] Compiling main process code
> [SUCCESS] [plugin-webpack] Compiling main process code
> [STARTED] [plugin-webpack] Launching dev servers for renderer process code
This last step does not complete, even when leaving it there for hours, while it lasts mere seconds for my co-workers. If I cancel it, I get a series of RpcExitError events suggesting a memory issue.
> RpcExitError: Process 26472 exited with code 3221225786
> Issues checking service aborted - probably out of memory. Check the `memoryLimit` option in the ForkTsCheckerWebpackPlugin configuration.
> If increasing the memory doesn't solve the issue, it's most probably a bug in the TypeScript.
> RpcExitError: Process 21064 exited with code 3221225786
> Issues checking service aborted - probably out of memory. Check the `memoryLimit` option in the ForkTsCheckerWebpackPlugin configuration.
> If increasing the memory doesn't solve the issue, it's most probably a bug in the TypeScript.
> RpcExitError: Process 16756 exited with code 3221225786
> Issues checking service aborted - probably out of memory. Check the `memoryLimit` option in the ForkTsCheckerWebpackPlugin configuration.
> If increasing the memory doesn't solve the issue, it's most probably a bug in the TypeScript.
> RpcExitError: Process 27208 exited with code 3221225786
> Issues checking service aborted - probably out of memory. Check the `memoryLimit` option in the ForkTsCheckerWebpackPlugin configuration.
> If increasing the memory doesn't solve the issue, it's most probably a bug in the TypeScript.
[This issue](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/issues/774) suggests that this might be a spurious error.
### Steps to reproduce
Unfortunately, I am unsure as to how to replicate this, because I am unable to replicate this on my coworkers' machines.
### Additional information
I get no additional information when running with "DEBUG=electron-forge:*"
Contributor guide
Assessment
This issue has not been assessed yet.